Skip to content

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

fix: increase auto sync interval to 5 seconds

thecodrr0bf1a89d1f69
diff --git a/packages/core/api/sync/index.js b/packages/core/api/sync/index.js
index f8284b566..9db2c6d16 100644
--- a/packages/core/api/sync/index.js
+++ b/packages/core/api/sync/index.js
@@ -51,7 +51,7 @@ export default class Sync {
this._merger = new Merger(this._db);
this._tokenManager = new TokenManager(this._db.storage);
this._autoSyncTimeout = 0;
- this._autoSyncInterval = 0;
+ this._autoSyncInterval = 5000;
this.syncMutex = withTimeout(
new Mutex(),