Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Change rhy result cache time to 6 hours

Daniel25a69c1d8ff3
diff --git a/kernel/util/rhy.go b/kernel/util/rhy.go
index 4620bf5dd8..d9b7dafda2 100644
--- a/kernel/util/rhy.go
+++ b/kernel/util/rhy.go
@@ -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)
}