mirror of https://github.com/laurent22/joplin.git
All: Schedule sync only after 30 seconds
parent
c70d8bea78
commit
bba2c68c6f
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue