Check for updates should run once per hour, not every 15 seconds

This commit is contained in:
Kwoth
2022-07-27 06:53:16 +02:00
parent 8bd6b887b8
commit d7c1dad4f0

View File

@@ -27,7 +27,7 @@ public sealed class CheckForUpdatesService : INService, IReadyExecutor
if (_client.ShardId != 0)
return;
using var timer = new PeriodicTimer(TimeSpan.FromSeconds(15));
using var timer = new PeriodicTimer(TimeSpan.FromHours(1));
while (await timer.WaitForNextTickAsync())
{
var conf = _bcs.Data;