From c00e28712ebfe8d346fde5db1a4606e3d2e42382 Mon Sep 17 00:00:00 2001 From: Laura Hausmann Date: Tue, 21 Nov 2023 01:29:46 +0100 Subject: [PATCH] [backend] Revert postgres geqo threshold and collapse limits to defaults This is no longer required due to the refactored user table requiring significantly less table joins in more complex queries --- packages/backend/src/db/postgre.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/backend/src/db/postgre.ts b/packages/backend/src/db/postgre.ts index 63b4db82b..0a1d24843 100644 --- a/packages/backend/src/db/postgre.ts +++ b/packages/backend/src/db/postgre.ts @@ -193,8 +193,6 @@ export const db = new DataSource({ database: config.db.db, extra: { statement_timeout: 1000 * 10, - //FIXME: remove this once the avatar/banner joins backend refactor is complete - options: '-c geqo=on -c geqo_threshold=12 -c from_collapse_limit=40 -c join_collapse_limit=40', ...config.db.extra, }, synchronize: process.env.NODE_ENV === "test",