Fix not waiting for logs to be sent to Azkaban

This commit is contained in:
DrSmugleaf
2021-11-23 17:50:06 +01:00
parent 545e36912a
commit 781a083fcf

View File

@@ -119,9 +119,9 @@ public partial class AdminLogSystem : SharedAdminLogSystem
_accumulatedFrameTime = 0;
// ship the logs to Azkaban
var task = Task.Run(() =>
var task = Task.Run(async () =>
{
_db.AddAdminLogs(copy);
await _db.AddAdminLogs(copy);
});
if (_metricsEnabled)