Disable memory usage logging

- it looks like it's Unix specific and doesn't work on windows
This commit is contained in:
Peter Šurda 2017-05-29 11:26:56 +02:00
parent 02a07e5119
commit e7525d47be
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -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)