mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-04 03:19:36 +08:00
🎨 Change rhy result cache time to 6 hours
This commit is contained in:
parent
2ef9c6f7ba
commit
25a69c1d8f
@ -32,7 +32,7 @@ func GetRhyResult(force bool) (map[string]interface{}, error) {
|
|||||||
rhyResultLock.Lock()
|
rhyResultLock.Lock()
|
||||||
defer rhyResultLock.Unlock()
|
defer rhyResultLock.Unlock()
|
||||||
|
|
||||||
cacheDuration := int64(3600)
|
cacheDuration := int64(3600 * 6)
|
||||||
if ContainerDocker == Container {
|
if ContainerDocker == Container {
|
||||||
cacheDuration = int64(3600 * 24)
|
cacheDuration = int64(3600 * 24)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user