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
Currently, the frontend code appears to make one Redmine query per row. These are essentially variations of the following query, with different combinations of issue_id and activity_id values:
... that the code later parses the needed information out of. Care must be taken to ensure that all information is fetched, either by increasing the limit parameter to some larger number, but ideally by implementing proper paging (multiple queries with an increasing offset value to get further data), or a combination thereof.
Paging like this is already implemented for computing the "Yearly overview". To show this bar all time entries for the whole year are fetched (which is a possible reason users start complaining about slowness towards the end of the year (!)).
This is an example of a query made to construct the "Yearly overview" bar:
There are also some clear cases for optimising the backend Go code, especially the code in getPriorityEntriesHandler.go. I'm adding the "backend" label to this issue. This likely means that this issue will have two PRs.
Description
Info
If this seems difficult or takes a long time, do #906 first.
The text was updated successfully, but these errors were encountered: