-Added call to sync if sync fails.
This commit is contained in:
parent
b7e0cb327a
commit
59af51ccec
1 changed files with 2 additions and 0 deletions
|
@ -147,6 +147,8 @@ export async function sync () {
|
|||
} catch (err) {
|
||||
winston.log(err);
|
||||
status.err = err;
|
||||
await sleep(600000);
|
||||
sync();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue