diff --git a/DiscordChatExporter.Cli.Tests/Utils/GlobalCache.cs b/DiscordChatExporter.Cli.Tests/Utils/GlobalCache.cs index e179d8be..5e357b9d 100644 --- a/DiscordChatExporter.Cli.Tests/Utils/GlobalCache.cs +++ b/DiscordChatExporter.Cli.Tests/Utils/GlobalCache.cs @@ -1,12 +1,12 @@ using System; -using System.Collections.Generic; +using System.Collections.Concurrent; using System.Threading.Tasks; namespace DiscordChatExporter.Cli.Tests.Utils { internal static class GlobalCache { - private static readonly Dictionary Dictionary = new(); + private static readonly ConcurrentDictionary Dictionary = new(); public static async Task WrapAsync(string key, Func> getAsync) {