mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #11956] NextUp query respects Limit #13042
Reference in New Issue
Block a user
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?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/11956
State: closed
Merged: Yes
Changes
Currently Nextup query does not use the limit defined in the query. It just gets ignored halfway through and defaults to "null". This means that no limit is placed and the sqlite query just pulls everything. This fix uses the query to define a limit X. This should also massively speed up nextup from pulling everything to only pulling X number of items.
Originally PR https://github.com/jellyfin/jellyfin/pull/11955 - but redid it against 10.9 as recommeneded.
Issues
Resolves slow homescreen loading due to slow nextup query. - https://github.com/jellyfin/jellyfin/issues/11888 https://github.com/jellyfin/jellyfin/issues/11316