将定时任务操作者改为,当前系统管理员

This commit is contained in:
alex
2023-09-24 13:58:17 +08:00
parent 9d07e7c068
commit 8cb934c3b0
8 changed files with 36 additions and 30 deletions

View File

@@ -311,7 +311,7 @@ public class OAuthService : IDynamicApiController, ITransient
stopTimedTaskSvcCTS = new();
try
{
_backgroundService.StartAsync(stopTimedTaskSvcCTS.Token);
_backgroundService.StartAsync(stopTimedTaskSvcCTS.Token); //此处不阻塞
}
catch (TaskCanceledException)
{