From e7525d47bedafe920a7f4f11c6f69e9af9ecc500 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Mon, 29 May 2017 11:26:56 +0200 Subject: [PATCH] Disable memory usage logging - it looks like it's Unix specific and doesn't work on windows --- src/class_singleCleaner.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/class_singleCleaner.py b/src/class_singleCleaner.py index 22b83079..19c3ca52 100644 --- a/src/class_singleCleaner.py +++ b/src/class_singleCleaner.py @@ -1,5 +1,4 @@ import threading -import resource import shared import time import sys @@ -122,8 +121,6 @@ class singleCleaner(threading.Thread, StoppableThread): # TODO: cleanup pending upload / download - logger.info("Memory usage %s (kB)", resource.getrusage(resource.RUSAGE_SELF).ru_maxrss) - if state.shutdown == 0: self.stop.wait(singleCleaner.cycleLength)