diff --git a/FastGithub/GithubScanAllHostedService.cs b/FastGithub/GithubScanAllHostedService.cs index 7d8c30d..819e4d5 100644 --- a/FastGithub/GithubScanAllHostedService.cs +++ b/FastGithub/GithubScanAllHostedService.cs @@ -24,7 +24,7 @@ namespace FastGithub while (stoppingToken.IsCancellationRequested == false) { await githubScanService.ScanAllAsync(stoppingToken); - await Task.Delay(this.options.CurrentValue.ScanResultInterval, stoppingToken); + await Task.Delay(this.options.CurrentValue.ScanAllInterval, stoppingToken); } } }