Skip to content

Commit

Permalink
Disable memory usage logging
Browse files Browse the repository at this point in the history
- it looks like it's Unix specific and doesn't work on windows
  • Loading branch information
PeterSurda committed May 29, 2017
1 parent 02a07e5 commit e7525d4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/class_singleCleaner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import threading
import resource
import shared
import time
import sys
Expand Down Expand Up @@ -122,8 +121,6 @@ def run(self):

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

Expand Down

0 comments on commit e7525d4

Please sign in to comment.