You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
broadcastEval throws a SHARDING_IN_PROCESS error when trying to use during shards being spawned however this was not an issue in older versions of the library
Working around this is relatively easy if you have a need to run broadcastEval on your shards whilst some are spawning -- just iterate over each shard and call broadcastEval with the shard number, catching the error thrown for any shards that are currently being spawned.
I would not consider SHARDING_IN_PROCESS being thrown to be a bug here, you are trying to call broadcastEval which is designed by default to broadcast to all shards, but not all shards are available so you are getting the appropriate error back.
broadcastEval throws a SHARDING_IN_PROCESS error when trying to use during shards being spawned however this was not an issue in older versions of the library
shard.js
index.js
Further details:
The text was updated successfully, but these errors were encountered: