Skip to content

Commit f5b9ed2

Browse files
taimoorzaeemsteve-chavez
authored andcommitted
nix(chore): remove defunct config in loadtest.nix
`PGRST_JWT_CACHE_MAX_LIFETIME` is defunct since #4084 is merged. Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
1 parent 0eb2bdd commit f5b9ed2

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

nix/tools/loadtest.nix

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,13 @@ let
6363
export PGRST_DB_TX_END="rollback-allow-override"
6464
export PGRST_LOG_LEVEL="crit"
6565
export PGRST_JWT_SECRET="reallyreallyreallyreallyverysafe"
66-
# set previous PGRST_JWT_CACHE_MAX_LIFETIME configuration so that
67-
# load test works across branches
68-
# TODO clean once PGRST_JWT_CACHE_MAX_ENTRIES merged and released
69-
export PGRST_JWT_CACHE_MAX_LIFETIME="86400"
7066
7167
mkdir -p "$(dirname "$_arg_output")"
7268
abs_output="$(realpath "$_arg_output")"
7369
7470
case "$_arg_kind" in
7571
jwt-hs)
7672
export PGRST_JWT_CACHE_MAX_ENTRIES="0"
77-
export PGRST_JWT_CACHE_MAX_LIFETIME="0"
7873
7974
# shellcheck disable=SC2145
8075
${withTools.withPg} -f "$_arg_testdir"/fixtures.sql \
@@ -104,7 +99,6 @@ let
10499
105100
jwt-rsa)
106101
export PGRST_JWT_CACHE_MAX_ENTRIES="0"
107-
export PGRST_JWT_CACHE_MAX_LIFETIME="0"
108102
109103
${genRsaMaterials} --rsa="$_arg_testdir"/gen_jwk.json --private-key="$_arg_testdir"/gen_private.json
110104
export PGRST_JWT_SECRET="@$_arg_testdir/gen_jwk.json"

0 commit comments

Comments
 (0)