diff --git a/osu.Server.QueueProcessor/DatabaseAccess.cs b/osu.Server.QueueProcessor/DatabaseAccess.cs index 6fd563c..295970b 100644 --- a/osu.Server.QueueProcessor/DatabaseAccess.cs +++ b/osu.Server.QueueProcessor/DatabaseAccess.cs @@ -25,8 +25,7 @@ public static MySqlConnection GetConnection() string user = (Environment.GetEnvironmentVariable("DB_USER") ?? "root"); string password = (Environment.GetEnvironmentVariable("DB_PASS") ?? string.Empty); string name = (Environment.GetEnvironmentVariable("DB_NAME") ?? "osu"); - bool pooling = string.Equals(Environment.GetEnvironmentVariable("DB_POOLING"), Boolean.FalseString, StringComparison.InvariantCultureIgnoreCase) - && Environment.GetEnvironmentVariable("DB_POOLING") != "0"; + bool pooling = Environment.GetEnvironmentVariable("DB_POOLING") != "0"; int maxPoolSize = int.Parse(Environment.GetEnvironmentVariable("DB_MAX_POOL_SIZE") ?? "100"); string passwordString = string.IsNullOrEmpty(password) ? string.Empty : $"Password={password};";