mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2026-09-24 15:44:26 +00:00
Do not start update task until one hour after server start.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user