From 9aa400c8f38171b31bfa0b6bdea96324c3e7a235 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Mon, 30 May 2022 23:55:25 -0500 Subject: [PATCH] fix: disable parallel GC for perf on high-core CPU --- CHANGELOG.md | 1 + postgrest.cabal | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 025d5998b..65404fefc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - #2277, #2238, #1643, Prevent views from breaking one-to-many/many-to-one embeds when using column or FK as target - @steve-chavez + When using a column or FK as target for embedding(`/tbl?select=*,col-or-fk(*)`), only tables are now detected and views are not. + You can still use a column or an inferred FK on a view to embed a table(`/view?select=*,col-or-fk(*)`) + - #2294, Disable parallel GC for better performance on higher core CPUs - @steve-chavez ### Changed diff --git a/postgrest.cabal b/postgrest.cabal index e523ee881..2b605a328 100644 --- a/postgrest.cabal +++ b/postgrest.cabal @@ -146,7 +146,7 @@ executable postgrest , containers >= 0.5.7 && < 0.7 , postgrest , protolude >= 0.3 && < 0.4 - ghc-options: -threaded -rtsopts "-with-rtsopts=-N -I2" + ghc-options: -threaded -rtsopts "-with-rtsopts=-N -I2 -qg" -O2 -Werror -Wall -fwarn-identities -fno-spec-constr -optP-Wno-nonportable-include-path