Disable memory usage logging
- it looks like it's Unix specific and doesn't work on windows
This commit is contained in:
parent
02a07e5119
commit
e7525d47be
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user