Do not start update task until one hour after server start.

This commit is contained in:
2026-01-01 11:39:25 +00:00
parent c5578a3e05
commit f98c29d0a8

View File

@@ -60,7 +60,7 @@ public class UpdateTask : IHostedService, IDisposable
/// <inheritdoc />
public Task StartAsync(CancellationToken cancellationToken)
{
_timer = new Timer(DoWork, null, TimeSpan.FromMinutes(1), TimeSpan.FromHours(1));
_timer = new Timer(DoWork, null, TimeSpan.FromHours(1), TimeSpan.FromHours(1));
return Task.CompletedTask;
}