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

All: Schedule sync only after 30 seconds

This commit is contained in:
Laurent Cozic
2018-01-08 21:05:08 +01:00
parent c70d8bea78
commit bba2c68c6f

View File

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