fix: unbreaks postgrest-profiled-run
* replaces v2-build -> v2-run (which should be v2-exec) with one-shot v2-run * fixes empty postgrest.prof file by sending SIGINT to the profiled postgrest process to trigger writing it explicitly
This commit is contained in:
committed by
Steve Chavez
parent
c08b87749b
commit
b7ad217cd3
@@ -95,9 +95,8 @@ let
|
||||
export PGRST_DB_POOL_ACQUISITION_TIMEOUT
|
||||
export PGRST_JWT_SECRET
|
||||
|
||||
${cabal-install}/bin/cabal --builddir="dist-prof" v2-build --enable-profiling --disable-shared exe:postgrest
|
||||
${cabal-install}/bin/cabal --builddir="dist-prof" v2-run -- \
|
||||
postgrest +RTS -p -h -RTS "''${_arg_leftovers[@]}"
|
||||
exec ${cabal-install}/bin/cabal --builddir="dist-prof" v2-run --enable-profiling --disable-shared exe:postgrest -- \
|
||||
+RTS -p -h -RTS "''${_arg_leftovers[@]}"
|
||||
'';
|
||||
|
||||
repl =
|
||||
|
||||
Reference in New Issue
Block a user