mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
Check for updates should run once per hour, not every 15 seconds
This commit is contained in:
@@ -27,7 +27,7 @@ public sealed class CheckForUpdatesService : INService, IReadyExecutor
|
|||||||
if (_client.ShardId != 0)
|
if (_client.ShardId != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
using var timer = new PeriodicTimer(TimeSpan.FromSeconds(15));
|
using var timer = new PeriodicTimer(TimeSpan.FromHours(1));
|
||||||
while (await timer.WaitForNextTickAsync())
|
while (await timer.WaitForNextTickAsync())
|
||||||
{
|
{
|
||||||
var conf = _bcs.Data;
|
var conf = _bcs.Data;
|
||||||
|
Reference in New Issue
Block a user