You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm self hosting a wakapi instance for myself and I have 729.427 total hearbeats since 2022.
I have imported the data from wakatime and I've regenerated the summaries.
The overall summary works fine, as well as the time filter (also custom time ranges).
However when I try to use the following filters:
machine
language
category
project
the page loads for ~30 seconds and fails with a timeout.
When I retry the request with curl it fails with the following error:
curl: (52) Empty reply from server
The server logs the following line, but no errors:
This is very much related to #716, so I'll close this issue and propose to continue the discussion there.
However, even though we can't utilize neither caching nor indexed queries for the given reasons, the request shouldn't take that long. On wakapi.dev (which btw. runs on much smaller hardware), a filtered query takes around ~ 10 s for me with a total of 652k heartbeats (MySQL though). Could you possibly look into tuning some database parameters?
Anyway, given that you're the second user to bring this up recently, I'll put this issue on top of my prio list (even though I actually can't think of a viable solution right now).
Describe the bug
I'm self hosting a wakapi instance for myself and I have
729.427
total hearbeats since 2022.I have imported the data from wakatime and I've regenerated the summaries.
The overall summary works fine, as well as the time filter (also custom time ranges).
However when I try to use the following filters:
the page loads for ~30 seconds and fails with a timeout.
When I retry the request with curl it fails with the following error:
The server logs the following line, but no errors:
System information
I'm using the docker compose template for hosting on a VPS with 8 Cores and 24GB Ram.
When I run the request the system is not overloaded and has ~80% CPU usage and ~40% RAM usage.
The text was updated successfully, but these errors were encountered: