mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-25 10:19:06 +01:00
[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
This commit is contained in:
parent
302b112f05
commit
c00e28712e
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user