Skip to content

Commit

Permalink
Set weather refresh duration to 20 min
Browse files Browse the repository at this point in the history
  • Loading branch information
iinsertNameHere committed Jul 19, 2024
1 parent db35dce commit 2b6a519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catnaplib/platform/probe.nim
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,4 @@ proc getWeather*(): string =
logError("Failed to fetch weather!")

result = readFile(tmpFile).strip()
writeCache(cacheFile, result, initDuration(minutes=30))
writeCache(cacheFile, result, initDuration(minutes=20))

0 comments on commit 2b6a519

Please sign in to comment.