Merge pull request #70 from lbryio/synconfailure

-Added call to sync if sync fails.
This commit is contained in:
filipnyquist 2018-05-10 16:02:40 +02:00 committed by GitHub
commit c3800d585a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,6 +147,8 @@ export async function sync () {
} catch (err) {
winston.log(err);
status.err = err;
await sleep(600000);
sync();
}
}