File tree 1 file changed +5
-1
lines changed 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -255,12 +255,16 @@ function maybe_launch_hasura_container() {
255
255
--env HASURA_GRAPHQL_SERVER_PORT=" $HASURA_GRAPHQL_SERVER_PORT " \
256
256
--env HASURA_GRAPHQL_ADMIN_SECRET \
257
257
--env HASURA_GRAPHQL_EE_LICENSE_KEY \
258
+ --env HASURA_GRAPHQL_EVENTS_FETCH_INTERVAL=0 \
259
+ --env HASURA_GRAPHQL_SCHEMA_SYNC_POLL_INTERVAL=0 \
258
260
$DOCKER_NETWORK_HOST_MODE \
259
261
" $REQUESTED_HASURA_DOCKER_IMAGE " \
260
262
graphql-engine serve \
261
263
+RTS -T $HASURA_RTS -RTS
262
- # ^^^ We run with `+RTS -T` to expose the /dev/rts_stats endpoint for
264
+ # ^^^ - We run with `+RTS -T` to expose the /dev/rts_stats endpoint for
263
265
# inspecting memory usage stats
266
+ # - We disable some unneeded (currently) polling to try to eliminate
267
+ # some sources of non-determinism
264
268
else
265
269
echo_pretty " We'll benchmark the hasura instance at port $HASURA_GRAPHQL_SERVER_PORT "
266
270
fi
You can’t perform that action at this time.
0 commit comments