🎨 Change rhy result cache time to 6 hours

This commit is contained in:
Daniel 2023-07-06 10:05:35 +08:00
parent 2ef9c6f7ba
commit 25a69c1d8f
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -32,7 +32,7 @@ func GetRhyResult(force bool) (map[string]interface{}, error) {
rhyResultLock.Lock()
defer rhyResultLock.Unlock()
cacheDuration := int64(3600)
cacheDuration := int64(3600 * 6)
if ContainerDocker == Container {
cacheDuration = int64(3600 * 24)
}