1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00
This commit is contained in:
Ilya Kreymer 2023-05-07 11:29:24 -07:00
parent b225a2d779
commit c4bbda90ff

View File

@ -117,7 +117,7 @@ class RedisPendingCounterTempBuffer(tempfile.SpooledTemporaryFile):
self.redis.expire(self.key, self.timeout)
self.url = params.get('url')
self.redis.hincrby(self.map_key, url, 1)
self.redis.hincrby(self.map_key, self.url, 1)
print(params)
@ -133,5 +133,5 @@ class RedisPendingCounterTempBuffer(tempfile.SpooledTemporaryFile):
self.redis.incrby(self.key, -1)
self.redis.expire(self.key, self.timeout)
self.redis.hincrby(self.map_key, url, -1)
self.redis.hincrby(self.map_key, self.url, -1)