tonehunt-org / tonehunt

https://tonehunt.org
MIT License
50 stars 11 forks source link

The list of trending models loads slowly and the request often fails #278

Open azzzy opened 9 months ago

azzzy commented 9 months ago

The response fails and when it succeeds it takes more than 5 seconds:

Screenshot 2024-01-10 at 13 00 43

One possible solution will be to replace the Prisma query with a raw query, another is to create a Postgres view in Supabase. I can open a PR with the preferred solution.

prodz18 commented 7 months ago

We improved this significantly in the next release. We're still doing some improvements and refinements. We should have it fixed and ready for the next release.