Commit 94dfca4a authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix.

parent 1831949c
......@@ -146,6 +146,7 @@ class MemoryLock(MultiSlotLock):
if not logged:
self.logger.info('Memory usage is %.1f percent. Waiting until memory usage is below %s percent.'
% (self.mem_usage, self.usage_th))
logged = True
time.sleep(5)
self.mem_usage = virtual_memory().percent
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment