Skip to content

High performance self-hosted photo and video management solution.

fix: library pagination to 10k to avoid too many postgres query params (#12993)

Zack Pollard789937d4a240
diff --git a/server/src/interfaces/job.interface.ts b/server/src/interfaces/job.interface.ts
index 8b6e2c289b..af2726b858 100644
--- a/server/src/interfaces/job.interface.ts
+++ b/server/src/interfaces/job.interface.ts
@@ -116,7 +116,7 @@ export enum JobName {
}
export const JOBS_ASSET_PAGINATION_SIZE = 1000;
-export const JOBS_LIBRARY_PAGINATION_SIZE = 100_000;
+export const JOBS_LIBRARY_PAGINATION_SIZE = 10_000;
export interface IBaseJob {
force?: boolean;