Browse Source

Fix reference to get_rss

tags/v0.1.1
JustAnotherArchivist 5 years ago
parent
commit
e0ca88c807
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      qwarc/__init__.py

+ 1
- 1
qwarc/__init__.py View File

@@ -278,7 +278,7 @@ class QWARC:
logging.info('Gracefully shutting down due to STOP file')
break
if self._memoryLimit and qwarc.utils.uses_too_much_memory(self._memoryLimit):
logging.info('Gracefully shutting down due to memory usage (current = {} > limit = {})'.format(get_rss(), self._memoryLimit))
logging.info('Gracefully shutting down due to memory usage (current = {} > limit = {})'.format(qwarc.utils.get_rss(), self._memoryLimit))
break

for sleepTask in sleepTasks:


Loading…
Cancel
Save