This is an automated email from the ASF dual-hosted git repository. chesnay pushed a commit to branch dev-1.12 in repository https://gitbox.apache.org/repos/asf/flink-docker.git
commit fb8fae655c1ebdcf365d731ed0a072e5810eba9a Author: Chesnay Schepler <[email protected]> AuthorDate: Sun Jan 24 22:18:51 2021 +0100 [FLINK-21036] Set default number of task slots to 1 --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index d8c575b..8032681 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -137,7 +137,7 @@ elif [ "$1" = "taskmanager" ]; then echo "Starting Task Manager" - TASK_MANAGER_NUMBER_OF_TASK_SLOTS=${TASK_MANAGER_NUMBER_OF_TASK_SLOTS:-$(grep -c ^processor /proc/cpuinfo)} + TASK_MANAGER_NUMBER_OF_TASK_SLOTS=${TASK_MANAGER_NUMBER_OF_TASK_SLOTS:-1} set_common_options set_config_option taskmanager.numberOfTaskSlots ${TASK_MANAGER_NUMBER_OF_TASK_SLOTS}
