mirror of
https://github.com/axllent/mailpit.git
synced 2025-08-13 20:04:49 +02:00
Chore: Extend latest version cache expiration from 5 to 15 minutes
This commit is contained in:
@@ -88,7 +88,7 @@ func Load() AppInformation {
|
|||||||
|
|
||||||
// clear latest version cache after 5 minutes
|
// clear latest version cache after 5 minutes
|
||||||
go func() {
|
go func() {
|
||||||
time.Sleep(5 * time.Minute)
|
time.Sleep(15 * time.Minute)
|
||||||
latestVersionCache = ""
|
latestVersionCache = ""
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user