1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-26 14:24:27 +00:00

remove stat of warning level notification not reached

This commit is contained in:
Daniel Grana 2009-08-07 21:29:19 -03:00
parent 3901e06f44
commit 417f0a3a20

View File

@ -115,8 +115,6 @@ class MemoryUsage(object):
(settings['BOT_NAME'], mem, socket.gethostname())
self._send_report(self.notify_mails, subj)
stats.set_value('memusage/warning_notified', 1)
else:
stats.set_value('memusage/warning_notified', 0)
self.warned = True
def _send_report(self, rcpts, subject):