Skip to content

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

:art: 更新包下载超时 10m

Liang Dingab482a143c18
diff --git a/kernel/model/updater.go b/kernel/model/updater.go
index 9f374130f0..a180f851e2 100644
--- a/kernel/model/updater.go
+++ b/kernel/model/updater.go
@@ -173,7 +173,7 @@ func downloadInstallPkg(pkgURL, checksum string) (err error) {
}
logging.LogInfof("downloading install package [%s]", pkgURL)
- client := req.C().SetTLSHandshakeTimeout(7 * time.Second).SetTimeout(30 * time.Minute)
+ client := req.C().SetTLSHandshakeTimeout(7 * time.Second).SetTimeout(10 * time.Minute)
callback := func(info req.DownloadInfo) {
//logging.LogDebugf("downloading install package [%s %.2f%%]", pkgURL, float64(info.DownloadedSize)/float64(info.Response.ContentLength)*100.0)
}