Skip to content

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

feat: reduce rollover sync time to 15 seconds

thecodrrdf3328355f1a
diff --git a/packages/core/api/index.js b/packages/core/api/index.js
index e4f0161df..b9bfc7e35 100644
--- a/packages/core/api/index.js
+++ b/packages/core/api/index.js
@@ -131,7 +131,7 @@ class Database {
clearTimeout(this._syncTimeout);
this._syncTimeout = setTimeout(() => {
EV.publish("db:sync");
- }, 60 * 1000);
+ }, 15 * 1000);
}
sync() {