mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
🎨 Change rhy result cache time to 6 hours
This commit is contained in:
parent
2ef9c6f7ba
commit
25a69c1d8f
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue