diff --git a/Endpoint/Configuration/Core/BackgroundTasks/ScheduleSyncService.cs b/Endpoint/Configuration/Core/BackgroundTasks/ScheduleSyncService.cs index 726ba8a..8d49770 100644 --- a/Endpoint/Configuration/Core/BackgroundTasks/ScheduleSyncService.cs +++ b/Endpoint/Configuration/Core/BackgroundTasks/ScheduleSyncService.cs @@ -73,7 +73,7 @@ public class ScheduleSyncService : IHostedService, IDisposable delay = 1; _cancellationTokenSource = new CancellationTokenSource(); - _timer = new Timer(ExecuteTask, null, (int)delay, Timeout.Infinite); + _timer = new Timer(ExecuteTask, null, (long)delay, Timeout.Infinite); } private async void ExecuteTask(object? state)