mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 06:29:29 +01:00
fix: increase auto sync interval to 5 seconds
This commit is contained in:
@@ -51,7 +51,7 @@ export default class Sync {
|
|||||||
this._merger = new Merger(this._db);
|
this._merger = new Merger(this._db);
|
||||||
this._tokenManager = new TokenManager(this._db.storage);
|
this._tokenManager = new TokenManager(this._db.storage);
|
||||||
this._autoSyncTimeout = 0;
|
this._autoSyncTimeout = 0;
|
||||||
this._autoSyncInterval = 0;
|
this._autoSyncInterval = 5000;
|
||||||
|
|
||||||
this.syncMutex = withTimeout(
|
this.syncMutex = withTimeout(
|
||||||
new Mutex(),
|
new Mutex(),
|
||||||
|
|||||||
Reference in New Issue
Block a user