Skip to content

Commit

Permalink
set self.worker_memory to None when appropriate (#72)
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt authored and mrocklin committed Jun 24, 2018
1 parent d8d1dbc commit 84853bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask_jobqueue/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(self,

# Keep information on process, threads and memory, for use in
# subclasses
self.worker_memory = parse_bytes(memory)
self.worker_memory = parse_bytes(memory) if memory is not None else None
self.worker_processes = processes
self.worker_threads = threads
self.name = name
Expand Down

0 comments on commit 84853bb

Please sign in to comment.