Skip to content

Commit

Permalink
Disable pipelining for now
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Oct 31, 2024
1 parent b01f281 commit 5a9a41d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Server.QueueProcessor/DatabaseAccess.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public static MySqlConnection GetConnection()

string passwordString = string.IsNullOrEmpty(password) ? string.Empty : $"Password={password};";

connectionString = $"Server={host};Port={port};Database={name};User ID={user};{passwordString}ConnectionTimeout=5;ConnectionReset=false;Pooling={pooling};Max Pool Size={maxPoolSize};";
// Pipelining disabled because ProxySQL no like.
connectionString = $"Server={host};Port={port};Database={name};User ID={user};{passwordString}ConnectionTimeout=5;ConnectionReset=false;Pooling={pooling};Max Pool Size={maxPoolSize}; Pipelining=false";
}

var connection = new MySqlConnection(connectionString);
Expand Down

0 comments on commit 5a9a41d

Please sign in to comment.