Sfoglia il codice sorgente

Fix reference to get_rss

tags/v0.1.1
JustAnotherArchivist 5 anni fa
parent
commit
e0ca88c807
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      qwarc/__init__.py

+ 1
- 1
qwarc/__init__.py Vedi 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:


Caricamento…
Annulla
Salva