ChildMindInstitute / MindLogger-bug-reports

GitHub repository for bug tracking and feature requesting for the MindLogger project
Other
0 stars 1 forks source link

🏇 `GET user/applets` is painfully slow #35

Closed shnizzedy closed 4 years ago

shnizzedy commented 5 years ago

This route is currently taking at least 30 seconds to respond.

shnizzedy commented 5 years ago

@henryrossiter I'm pretty sure this issue is the root cause of #32. I'm always getting a 504 right before that CORS error when I can replicate it, so I'm going to try to tackle this one and see if that resolves both. I think the browser's getting either no response or an incomplete response, so it just isn't getting the CORS headers.

shnizzedy commented 5 years ago

The way https://github.com/ChildMindInstitute/mindlogger-app-backend/pull/211 handles legacy data makes this an issue again.