Skip to content

Commit

Permalink
Update DatabaseManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
LtRipley36706 committed Dec 18, 2024
1 parent 218801d commit 919d11c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/ACE.Database/DatabaseManager.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using System.Collections.Generic;
using System.Collections.Concurrent;

using Microsoft.EntityFrameworkCore;

Expand Down Expand Up @@ -73,7 +73,7 @@ public static void Stop()
serializedShardDb.Stop();
}

private static readonly Dictionary<string, ServerVersion> cachedServerVersions = new();
private static readonly ConcurrentDictionary<string, ServerVersion> cachedServerVersions = new();

public static ServerVersion CachedServerVersionAutoDetect(string database, string connectionString)
{
Expand Down

0 comments on commit 919d11c

Please sign in to comment.