alan-turing-institute / WimbledonPlanner

Project planning for REG
MIT License
0 stars 0 forks source link

update 502 timeout #77

Open jack89roberts opened 4 years ago

jack89roberts commented 4 years ago

Requests in Azure Web Apps are limited to 230 seconds (see here).

The update is close to and currently exceeding that limit. Haven't verified but I think querying GitHub for and creating the emoji preferences table takes the longest.

Should make the update a background task, rather than a request that hangs. Or quick fix may be to revert to only checking the top comment in the GitHub issue (currently check the first few, I think, to deal with cases where reactions were not to the top-level comment).

jack89roberts commented 4 years ago

Testing locally:

Not tested: