fredcallaway / heroku-experiment

Starter kit for running a psiturk experiment on heroku with jspsych.
http://salty-meadow-30207.herokuapp.com/
MIT License
7 stars 9 forks source link

Add sleep to retry logic for final data submission. #16

Open cgc opened 1 year ago

cgc commented 1 year ago

This PR augments the existing logic for data submission at the end of the experiment by adding a sleep between submission failures. While the existing logic retries multiple times, if those times happen in quick succession that might not give submission enough of a chance. The sleep duration is exponentially increasing.