1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-01 19:15:01 +02:00

All: Made scheduled sync delay slightly shorter

This commit is contained in:
Laurent Cozic 2018-02-27 21:19:11 +00:00
parent 795568d8c2
commit 058285e0b9

View File

@ -44,7 +44,7 @@ reg.syncTarget = (syncTargetId = null) => {
}
reg.scheduleSync = async (delay = null) => {
if (delay === null) delay = 1000 * 30;
if (delay === null) delay = 1000 * 10;
let promiseResolve = null;
const promise = new Promise((resolve, reject) => {