diff options
Diffstat (limited to 'start-container-docker.sh')
-rwxr-xr-x | start-container-docker.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/start-container-docker.sh b/start-container-docker.sh index 4b5cbecd..b3f3a66f 100755 --- a/start-container-docker.sh +++ b/start-container-docker.sh @@ -241,7 +241,7 @@ nproc=$($SSH $session_host nproc --all) pids=$(print_pids_limit "$task" "$weight") cpus=$(print_cpu_shares "$task" "$weight") -memory=$(print_memory_limit "$task" "$weight" "$nproc") +memory=$(print_memory_limit "$task" "$weight") memory_opt="--memory=${memory}M" if [ x"$memory" = x"unlimited" ]; then memory_opt="" |