We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7ec42 commit 31be6feCopy full SHA for 31be6fe
main.go
@@ -86,7 +86,7 @@ func getLatestVersion() (string, error) {
86
parts := strings.Split(string(content), "\n")
87
if len(parts) >= 2 {
88
cacheTime, err := strconv.Atoi(parts[0])
89
- if err == nil && time.Now().Unix()-int64(cacheTime) <= 60*60*24 {
+ if err == nil && time.Now().Unix()-int64(cacheTime) <= 60*60*3 {
90
return parts[1], nil
91
}
92
0 commit comments