Skip to content

Commit

Permalink
Add 1s wait between polls
Browse files Browse the repository at this point in the history
  • Loading branch information
steven1046 committed Nov 8, 2018
1 parent 493ef90 commit e227c02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/webapp/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ $(document).ready(function() {
deferred.reject();
}
else {
return pollForTranscript(id, num_tries);
setTimeout(function(){
return pollForTranscript(id, num_tries);
}, 1000);
}
}
});
Expand Down

0 comments on commit e227c02

Please sign in to comment.