mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-25 21:03:40 +00:00
fixed bug in MEMUSAGE_NOTIFY_MAIL setting
This commit is contained in:
parent
37ad4f8791
commit
6cc40dc062
@ -28,7 +28,7 @@ class MemoryUsage(object):
|
||||
|
||||
self.crawler = crawler
|
||||
self.warned = False
|
||||
self.notify_mails = crawler.settings.getlist('MEMUSAGE_NOTIFY')
|
||||
self.notify_mails = crawler.settings.getlist('MEMUSAGE_NOTIFY_MAIL')
|
||||
self.limit = crawler.settings.getint('MEMUSAGE_LIMIT_MB')*1024*1024
|
||||
self.warning = crawler.settings.getint('MEMUSAGE_WARNING_MB')*1024*1024
|
||||
self.report = crawler.settings.getbool('MEMUSAGE_REPORT')
|
||||
|
Loading…
x
Reference in New Issue
Block a user