Skip to content

Commit cfb42ec

Browse files
committed
revert: drop redundant MAX_WORKERS from entrypoint
1 parent dfcf307 commit cfb42ec

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docker/docker-entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,9 @@ npm run migrations
2626
# Allow configuring node memory. It should be no more than 75% of available RAM.
2727
# Defaults to 3 GB (expecting at least 4 GB available).
2828
NODE_SPACE=${MAX_OLD_SPACE_SIZE:-3072}
29-
NODE_WORKERS=${MAX_WORKERS:-2}
3029

3130
NODE_OPTIONS=--max_old_space_size="$NODE_SPACE" \
3231
/bin/run --disable-historical=false \
33-
--db-schema=public \
34-
--workers="$NODE_WORKERS" "$@" &
32+
--db-schema=public "$@" &
3533
child=$!
3634
wait "$child"

0 commit comments

Comments
 (0)