mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 08:34:27 -05: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)
 | 
			
		||||
            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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user