File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
osu.Server.QueueProcessor Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,7 @@ public static MySqlConnection GetConnection()
2525 string user = ( Environment . GetEnvironmentVariable ( "DB_USER" ) ?? "root" ) ;
2626 string password = ( Environment . GetEnvironmentVariable ( "DB_PASS" ) ?? string . Empty ) ;
2727 string name = ( Environment . GetEnvironmentVariable ( "DB_NAME" ) ?? "osu" ) ;
28- bool pooling = string . Equals ( Environment . GetEnvironmentVariable ( "DB_POOLING" ) , Boolean . FalseString , StringComparison . InvariantCultureIgnoreCase )
29- && Environment . GetEnvironmentVariable ( "DB_POOLING" ) != "0" ;
28+ bool pooling = Environment . GetEnvironmentVariable ( "DB_POOLING" ) != "0" ;
3029 int maxPoolSize = int . Parse ( Environment . GetEnvironmentVariable ( "DB_MAX_POOL_SIZE" ) ?? "100" ) ;
3130
3231 string passwordString = string . IsNullOrEmpty ( password ) ? string . Empty : $ "Password={ password } ;";
You can’t perform that action at this time.
0 commit comments