Refs #23342 - Manage Live API Model Offset / Count / timeframe split correctly and more memory efficient#23673
Conversation
Try to fix the Live API to: - handle the offset correctly - only count necessary data from offset (memory efficient) - split dates into multiple queries created overlapping timeframes
|
Hi @peterbo, thanks so much for creating the PR and looking into the offset problem. |
|
Hi @michalkleiner, I have no test suite / dev running on my environment. I have to prepare it and make it work. It'll take some time though. |
|
Thanks @peterbo, that's understandable. If it's of any help, Matomo comes with DDEV project config and it should be quite straightforward setting one up for development, if you wanted to give it a go. Check out https://github.com/matomo-org/matomo/blob/5.x-dev/.ddev/README.md. |
|
If you don't want this PR to be closed automatically in 28 days then you need to assign the label 'Do not close'. |
|
I'll merge this one into another branch to add some (AI generated) tests for it there |
…more memory efficient (#23889) * Refs #23342 - Manage Live API Model Offset / Count / timeframe split correctly and more memory efficient (#23673) * Refs #23342 Try to fix the Live API to: - handle the offset correctly - only count necessary data from offset (memory efficient) - split dates into multiple queries created overlapping timeframes * More offset corrections * remove unused method parameter * Add more tests around limit/offest handling --------- Co-authored-by: Peter Boehlke <github@media-proweb.de>
Description:
Refs #23342
Try to fix the Live API Model to:
Review