perf: 引入 Microsoft.VisualStudio.Threading.Analyzers 分析器 (#62)

This commit is contained in:
2023-11-20 18:11:44 +08:00
committed by GitHub
parent b6bbd8dc88
commit 36c20b813d
55 changed files with 545 additions and 364 deletions

View File

@ -41,6 +41,6 @@ public sealed class OperationLogger : IEventSubscriber
logReq ??= operationEvent.Data;
var logService = App.GetService<IRequestLogService>();
logReq.TruncateStrings();
_ = await logService.CreateAsync(logReq);
_ = await logService.CreateAsync(logReq).ConfigureAwait(false);
}
}