Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
mlin committed Apr 14, 2020
1 parent c2bd8fc commit 88ff4e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions WDL/runtime/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,6 @@ def _eval_task_runtime(
)
)
memory_bytes = memory_max
ans["memory"] = memory_bytes
ans["memory_reservation"] = memory_bytes

memory_limit_multiplier = cfg["task_runtime"].get_float("memory_limit_multiplier")
Expand All @@ -1094,7 +1093,9 @@ def _eval_task_runtime(

if ans:
logger.info(_("effective runtime", **ans))
unused_keys = list(key for key in runtime_values if key not in ans)
unused_keys = list(
key for key in runtime_values if key not in ("cpu", "memory") and key not in ans
)
if unused_keys:
logger.warning(_("ignored runtime settings", keys=unused_keys))

Expand Down

0 comments on commit 88ff4e7

Please sign in to comment.