Skip to content

Commit

Permalink
runner.docker: Report found memory limit in check-setup output
Browse files Browse the repository at this point in the history
Helpful for troubleshooting to see what the found limit was even when
it's higher than 2 GiB.
  • Loading branch information
tsibley committed Mar 8, 2022
1 parent 4e9ebe7 commit 808ccd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nextstrain/cli/runner/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def int_or_none(x):
""" % (limit / GiB))
status = None
else:
msg += " (limit is %.1f GiB)" % (limit / GiB)
status = True

return [(msg, status)]
Expand Down

0 comments on commit 808ccd6

Please sign in to comment.