Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Slow/Timeout loading issue with fetchList #58

Open
dcasso-app opened this issue Nov 12, 2019 · 0 comments
Open

Slow/Timeout loading issue with fetchList #58

dcasso-app opened this issue Nov 12, 2019 · 0 comments

Comments

@dcasso-app
Copy link

Hi guys,

I'm having issues with fetchList query giving h12 Request Timeout error on Heroku.
My query is Model.fetchList({ sort: '-createdAt', limit: 500}, { decrypt: false });
To work around the issue, I set the limit : 100, but the query still takes around 20-25seconds to load which is pretty slow. The app is https://dcasso.app/, which you click on it, it takes a while to finish loading on home page.
We thought it was Heroku issue but we contacted them and they said it's because of the query code. We even paid for Heroku to hope the issue will be solved but it did not. Let me know if you face the same issue and how to fix. Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant