Fix not waiting for logs to be sent to Azkaban
This commit is contained in:
parent
545e36912a
commit
781a083fcf
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue