Skip to content

Commit e081234

Browse files
committed
Add default value for cancellation token
1 parent a854e4d commit e081234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osu.Server.QueueProcessor/DatabaseAccess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public static MySqlConnection GetConnection()
3535
/// <summary>
3636
/// Retrieve a fresh MySQL connection. Should be disposed after use.
3737
/// </summary>
38-
public static async Task<MySqlConnection> GetConnectionAsync(CancellationToken cancellationToken)
38+
public static async Task<MySqlConnection> GetConnectionAsync(CancellationToken cancellationToken = default)
3939
{
4040
var connection = new MySqlConnection(getConnectionString());
4141

0 commit comments

Comments
 (0)