Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: change automatic sync interval to 5s

thecodrr4e1519bbc8e9
diff --git a/packages/core/api/index.js b/packages/core/api/index.js
index 1a6ba535a..b4fc7b0ef 100644
--- a/packages/core/api/index.js
+++ b/packages/core/api/index.js
@@ -171,7 +171,7 @@ class Database {
clearTimeout(this._syncTimeout);
this._syncTimeout = setTimeout(() => {
EV.publish(EVENTS.databaseSyncRequested);
- }, 15 * 1000);
+ }, 5 * 1000);
}
sync(full = true, force = false) {