Replaced all usages of ConcurrentDictionary with NonBlocking.ConcurrentDictionary

This commit is contained in:
Kwoth
2022-06-24 08:37:25 +00:00
parent dc846965ae
commit f398cddaf0
7 changed files with 157 additions and 790 deletions

View File

@@ -37,7 +37,7 @@ public class XpService : INService, IReadyExecutor, IExecNoCommand
private readonly ConcurrentDictionary<ulong, ConcurrentHashSet<ulong>> _excludedChannels;
private readonly ConcurrentHashSet<ulong> _excludedServers;
private readonly ConcurrentQueue<UserCacheItem> _addMessageXp = new();
private readonly System.Collections.Concurrent.ConcurrentQueue<UserCacheItem> _addMessageXp = new();
private XpTemplate template;
private readonly DiscordSocketClient _client;