Skip to content
Permalink
Browse files

Fix HIT Catcher freezing from a 503 response from Mturk.

  • Loading branch information...
Kadauchi committed May 11, 2019
1 parent a4522ac commit 59587a09feea203761b26759cf360a4360949e3a
Showing with 2 additions and 0 deletions.
  1. +2 −0 hit_catcher/hit_catcher.js
@@ -559,6 +559,8 @@ async function catcherRun(forcedId) {
catcher.timeout = setTimeout(catcherRun, delay(), status === 429 ? id : undefined);
} else if (err instanceof TypeError) {
catcher.timeout = setTimeout(catcherRun, delay(), id);
} else {
catcher.timeout = setTimeout(catcherRun, delay(), id);
}
}
else if (catcher.paused.status === false) {

0 comments on commit 59587a0

Please sign in to comment.
You can’t perform that action at this time.