Skip to content

Commit

Permalink
Fix refresh cooldown
Browse files Browse the repository at this point in the history
  • Loading branch information
DubyaDude committed Aug 18, 2024
1 parent 23b052c commit 35d85df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VRCX-API/Services/GithubPeriodicService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
if (DateTime.Now - _lastRefresh > TimeSpan.FromSeconds(120))
{
await _githubCacheService.RefreshAsync();
_lastRefresh = DateTime.Now;
}
}
catch (Exception ex)
Expand Down

0 comments on commit 35d85df

Please sign in to comment.