Closed mael-chouteau closed 1 month ago
The request to the server is right, but then the server seams to check for all events, not taking into account the time span. And each time we change month, a new request is made, which also request for all events.
I figured out the problem. The plugin was looking for issues without due dates that start after the beginning of the timeframe we're interested in. So, if we're in August, it also searches for issues in September and beyond.
A similar issue occurs when checking for events that end before the end of our timeframe but have no start date. This means that an issue ending in 2017 might still be included, even though we're only focused on August 2024.
It is corrected in the PR #122 I now have a loading time of 5.5sec where I was getting 1 min before, it is even faster than the old server in version 1.7.1 of the plugin which is getting 18sec for the same request with the same events.
PR is merged -> CLOSED
Hi, I'm migration from the version 1.7.1 to 1.9.9.
And now the settings showing the same events for a month is now taking 59 sec instead of the 10 sec before.
I found that before, the plugin would only search for the currently displayed month, and would start new queries when changing the month.
Now it is making queries for all events (over 5 years in our case), it is indeed smoother when changing from month to month, but the initial wait time is way too long.
Can you please help us find what we can change to only query the displayed timespan on the calendar?
Have a great day, Maël.