Skip to content

Commit

Permalink
Skip updates that are too recent tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisoft committed Oct 13, 2024
1 parent e1eea8d commit 656d0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ASFFreeGames/Github/GithubPluginUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class GithubPluginUpdater(Lazy<Version> version) {
return null;
}

if (stable && !((releaseResponse.PublishedAt - DateTime.UtcNow).Duration() > TimeSpan.FromHours(12))) {
if (stable && !((releaseResponse.PublishedAt - DateTime.UtcNow).Duration() > TimeSpan.FromHours(3))) {
// Skip updates that are too recent
return null;
}
Expand Down

0 comments on commit 656d0f8

Please sign in to comment.