Skip to content

Commit

Permalink
Style: Update _lastUpdateCheckTime outside of branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Feb 27, 2025
1 parent c0ac158 commit 9242ee4
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,9 @@ public async Task<PerFeedCacheUpdaterResult<PageMetadataMixin>> CheckAndUpdateMo
_logger.LogInformation("Skipping update check due to rate limit ({cooldown} seconds). Time left: {timeLeft} seconds.", UpdateCheckCooldownSeconds, timeLeft);
return PerFeedCacheUpdaterResult<PageMetadataMixin>.WithStatus(CacheUpdaterResultStatus.Throttled);
}
_lastUpdateCheckTime = _timeProvider.GetUtcNow();
}
else
{
_lastUpdateCheckTime = _timeProvider.GetUtcNow();
}


_lastUpdateCheckTime = _timeProvider.GetUtcNow();
// Identify all mod pages needing a refresh
var updateCheckResult = await RunUpdateCheck.CheckForModPagesWhichNeedUpdating(
_connection.Db,
Expand Down

0 comments on commit 9242ee4

Please sign in to comment.