Commit e475587d authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix.

parent 94dfca4a
......@@ -145,7 +145,7 @@ class MemoryLock(MultiSlotLock):
while self.mem_usage >= self.blocking_th:
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))
% (self.mem_usage, self.blocking_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