fix: retry harder to obtain a last_id

This commit is contained in:
Michael Vines 2019-02-14 22:04:45 -08:00
parent 41865547ee
commit 6311cbf335
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ export class Connection {
}; };
break; break;
} }
if (attempts === 8) { if (attempts === 16) {
throw new Error( throw new Error(
`Unable to obtain a new last id after ${Date.now() - startTime}ms`, `Unable to obtain a new last id after ${Date.now() - startTime}ms`,
); );