Skip to content

Commit

Permalink
set --memory-swappiness 0
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjsimpson authored Oct 9, 2024
1 parent 8232357 commit d6cd620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dokku-wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@

subprocess.run(f"dokku docker-options:add {APP_NAME} deploy '--ulimit nofile=200'", shell=True)
subprocess.run(f'dokku docker-options:add {APP_NAME} deploy --cpus="0.25"', shell=True)
subprocess.run(f'dokku docker-options:add {APP_NAME} deploy "--memory=200m --memory-swappiness=200m"', shell=True)
subprocess.run(f'dokku docker-options:add {APP_NAME} deploy "--memory=200m --memory-swappiness=0"', shell=True)


try:
Expand Down

0 comments on commit d6cd620

Please sign in to comment.