AlwaysDownloadUsers = true causes stability issues
See original GitHub issueMy test was with a Bot on 2.5k servers split upon 3 shards. Setting AlwaysDownloadUsers
to true ALWAYS made Shard 0 disconnect. The Shard would just be stuck in a infinite loop of connecting, then the remote party closes the connection without a handshake, reconnecting and so on until the bot token gets reset. Setting it to false and its stable again…
_client = new DiscordSocketClient(new DiscordSocketConfig()
{
LogLevel = LogSeverity.Info,
AlwaysDownloadUsers = true,
MessageCacheSize = 0,
TotalShards = Utility.TOTAL_SHARDS,
ShardId = shardId
});
All other shards are unaffected and stable.
Bot ran on a Ubuntu Server with 16.04 LTS
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had this issue aswell just delete all your packages and restore them from a packages.config thats how i fixed it somehow lol.
Or manually restore your packages if ^ dosent work one of the two fixes it
We’ve added direct access to the REST client via 65afd375022b126ecf12c56ef5704d1c1d60902f.