mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-26 18:04:27 +00:00
remove stat of warning level notification not reached
This commit is contained in:
parent
3901e06f44
commit
417f0a3a20
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user