mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-08-06 00:02:27 +08:00
perf: ⚡ 引入 Microsoft.VisualStudio.Threading.Analyzers 分析器 (#62)
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user