This commit is contained in:
milimoe 2025-02-06 21:18:14 +08:00 committed by GitHub
parent 479e4de8b5
commit c60624f303
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -545,7 +545,7 @@ namespace Milimoe.FunGame.Server.Model
// 每两小时触发一次SQL服务器的心跳查询防止SQL服务器掉线
try
{
await Task.Delay(2 * 1000 * 3600);
await Task.Delay(2 * 1000 * 3600, cts.Token);
SQLHelper?.ExecuteDataSet(ServerLoginLogs.Select_GetLastLoginTime());
}
catch (OperationCanceledException)