fix(worker): try wait 10 times before failing
This commit is contained in:
@@ -195,7 +195,7 @@ function getSessionEndWithPriority(
|
|||||||
return async (args) => {
|
return async (args) => {
|
||||||
const res = await getSessionEnd(args);
|
const res = await getSessionEnd(args);
|
||||||
|
|
||||||
if (count > 3) {
|
if (count > 10) {
|
||||||
throw new Error('Failed to get session end');
|
throw new Error('Failed to get session end');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user