Skip to content

Commit 656d0f8

Browse files
committed
Skip updates that are too recent tuning
1 parent e1eea8d commit 656d0f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ASFFreeGames/Github/GithubPluginUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public class GithubPluginUpdater(Lazy<Version> version) {
3838
return null;
3939
}
4040

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

0 commit comments

Comments
 (0)