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 b067059
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +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(
Expand Down

0 comments on commit b067059

Please sign in to comment.