How to make gateway shards always reconnect.

Hello, currently shards stop reconnecting after few tries. What do change so they will keep on try to reconnect but maybe less often
2 Replies
d.js toolkit
d.js toolkit16mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
NotDemonix
NotDemonixOP16mo ago
I do have a connection issue ongoing Connection timeouts The shards seem to stop trying to reconnect after some time Its only partially, over half of the shards are online Websocket Sorry for late reply I have a mix of clusters (process) and websocket ones yea But i need help with the discord.js part.. Not the third party package. That package works perfectly fine That package doesnt manage websocket connections at all. Only gives a list of shards for that process Does discord.js inbuild shardingmanager allow to have a hybrid sharding to increase performance? About ratelimits, I belive theres no handler to sync every ratelimit. But the clusters are spawned with a delay calculated from maxConcurrency and amount of shards per cluster. So that ratelimit isnt happening The network got fixed on the server about 2 hours ago and its fine now. I just want to know for future now Completly random Some clusters were completly dead, some were fully online and some were partially offline it was an issue with PATH. Only some stuff went thru
Want results from more Discord servers?
Add your server