Skip to content

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

:art: Support setting automatic sync interval https://github.com/siyuan-note/siyuan/issues/13448

Daniel967b8993efb7
diff --git a/app/src/config/repos.ts b/app/src/config/repos.ts
index 5b717fa5d2..af9bd6bde7 100644
--- a/app/src/config/repos.ts
+++ b/app/src/config/repos.ts
@@ -451,7 +451,7 @@ export const repos = {
if (43200 < interval) {
interval = 43200;
}
-
+ syncIntervalElement.value = interval.toString();
fetchPost("/api/sync/setSyncInterval", {interval: interval}, () => {
window.siyuan.config.sync.interval = interval;
processSync();