about shards
I have 7 shards in total. The sharding mod is set to "workers". Is it normal that I have only one process?
3 Replies
- 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!
- ✅
Marked as resolved by staffYes
workers mode will use multiple worker threads (not processes)
This means that the more threads the higher performance? And what about if i have 4 cpu threads and 7 shards? As far as I understand, one shard is running by one cpu thread