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 threading
|
||||||
import resource
|
|
||||||
import shared
|
import shared
|
||||||
import time
|
import time
|
||||||
import sys
|
import sys
|
||||||
|
@ -122,8 +121,6 @@ class singleCleaner(threading.Thread, StoppableThread):
|
||||||
|
|
||||||
# TODO: cleanup pending upload / download
|
# TODO: cleanup pending upload / download
|
||||||
|
|
||||||
logger.info("Memory usage %s (kB)", resource.getrusage(resource.RUSAGE_SELF).ru_maxrss)
|
|
||||||
|
|
||||||
if state.shutdown == 0:
|
if state.shutdown == 0:
|
||||||
self.stop.wait(singleCleaner.cycleLength)
|
self.stop.wait(singleCleaner.cycleLength)
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user