mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-25 07:43:43 +00:00
Remove plural from stat key.
This commit is contained in:
parent
93a1102189
commit
63d0b9f8c8
@ -81,7 +81,7 @@ class HttpCacheMiddleware(object):
|
||||
self.stats.inc_value('httpcache/store', spider=spider)
|
||||
else:
|
||||
response.flags.append('cached')
|
||||
self.stats.inc_value('httpcache/hits', spider=spider)
|
||||
self.stats.inc_value('httpcache/hit', spider=spider)
|
||||
return response
|
||||
|
||||
def is_cacheable_response(self, response):
|
||||
|
Loading…
x
Reference in New Issue
Block a user