fix(worker): try wait 10 times before failing

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-25 10:01:26 +02:00
parent ea141e99a2
commit 0167d9a761

View File

@@ -195,7 +195,7 @@ function getSessionEndWithPriority(
return async (args) => {
const res = await getSessionEnd(args);
if (count > 3) {
if (count > 10) {
throw new Error('Failed to get session end');
}