You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Certain large batch requests from the dashboard, such as the big "approve all" button on the Hits tab, take too long for heroku, and will timeout. However, scheduling an approve_all task will not time out. This is because heroku has a cap on how long a browser request can be open before it cuts it off. On the other hand, a scheduled task requires to browser connection. One solution, then, is to have those buttons on the dashboard submit one-time tasks. A downside of this is that it would require do_scheduler to be running. OTOH, it's not a good idea to have long-running requests open on heroku anyway if participants could be taking the study at the same time.
Kind of rambling, but thought it would be good to jot down.
The text was updated successfully, but these errors were encountered:
Certain large batch requests from the dashboard, such as the big "approve all" button on the Hits tab, take too long for heroku, and will timeout. However, scheduling an approve_all task will not time out. This is because heroku has a cap on how long a browser request can be open before it cuts it off. On the other hand, a scheduled task requires to browser connection. One solution, then, is to have those buttons on the dashboard submit one-time tasks. A downside of this is that it would require
do_scheduler
to be running. OTOH, it's not a good idea to have long-running requests open on heroku anyway if participants could be taking the study at the same time.Kind of rambling, but thought it would be good to jot down.
The text was updated successfully, but these errors were encountered: