Szuru API slow response times #42
Labels
No Label
Breaking
Domain
komu.boo
Domain
langrock.info
Domain
libre.moe
Involves
Documentation
Involves
Security
Involves
Testing
Kind
Bug
Kind
Enhancement
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Service
Drone
Service
Element
Service
Gitea
Service
Matrix
Service
Nextcloud
Service
Szuru
Status
Abandoned
Status
Acknowledged
Status
Blocked
Status
Duplicate
Status
Invalid
Status
Need More Info
Status
Won't Fix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KomuSolutions/igot99issues#42
Loading…
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.