Szuru API slow response times #42
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Various API endpoints take very long to respond. This makes the UI feel extremely slow, as loading times of ~2s are required for viewing a post or even just liking it.
On the server-side postgres jumps to 100% (single core) for the entire duration, so something is either wrong with the query, the db or postgres.
This issue existed before but was magically fixed recently. After moving from postgres 13 to 16 (#40), the issue now reappeared.
Soooo... it seems like Postgres was the culprit. After looking through the migration log I found a note about running
vacuumdb
to optimize the db and well, that worked.