jellyseerr: fix extremely long import, run only once

cache was being invalidated for every user, and on my 5000 user test
instance, this sweated jellyseerr and my computer (audibly). Also, since
this only needs to realistically run once, a flag is set in the database
to indicate it's been done, and unset once the feature is disabled.
It'll only run on boot if the flag is unset, or if triggered by the
/tasks route. Will likely add manual trigger buttons on the web as well.
This commit is contained in:
Harvey Tindall
2025-11-29 14:13:34 +00:00
parent 1a0e32504f
commit 598a389e3d
7 changed files with 116 additions and 20 deletions

View File

@@ -2190,6 +2190,12 @@ export class accountsList extends PaginatedList {
this.focusAccount(userID);
}
}
// An alternate view showing accounts in sub-lists grouped by group/label.
export class groupedAccountsList {
}
export const accountURLEvent = (id: string) => { return new CustomEvent(accountsList._accountURLEvent, {"detail": id}) };