Ver código fonte

Fix reference to get_rss

tags/v0.1.1
JustAnotherArchivist 5 anos atrás
pai
commit
e0ca88c807
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      qwarc/__init__.py

+ 1
- 1
qwarc/__init__.py Ver arquivo

@@ -278,7 +278,7 @@ class QWARC:
logging.info('Gracefully shutting down due to STOP file') logging.info('Gracefully shutting down due to STOP file')
break break
if self._memoryLimit and qwarc.utils.uses_too_much_memory(self._memoryLimit): 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 break


for sleepTask in sleepTasks: for sleepTask in sleepTasks:


Carregando…
Cancelar
Salvar