mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
actually start the queue processing timer
This commit is contained in:
parent
60f6bb5829
commit
e968adb7be
1 changed files with 1 additions and 0 deletions
|
|
@ -148,6 +148,7 @@ public class RequestQueueService : IHostedService
|
||||||
_queueTimer = new System.Timers.Timer(250);
|
_queueTimer = new System.Timers.Timer(250);
|
||||||
_queueTimer.Elapsed += ProcessQueue;
|
_queueTimer.Elapsed += ProcessQueue;
|
||||||
_queueTimer.AutoReset = true;
|
_queueTimer.AutoReset = true;
|
||||||
|
_queueTimer.Start();
|
||||||
return Task.CompletedTask;
|
return Task.CompletedTask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue