Move quota cache from database to redis (#2010)

This commit is contained in:
Raphael Michel
2021-03-29 09:42:27 +02:00
committed by GitHub
parent a927b47b8b
commit d3748a6194
14 changed files with 148 additions and 164 deletions

View File

@@ -398,7 +398,6 @@ class FakeRedis(object):
return self
def exists(self, rkey):
print(rkey in self.storage)
return rkey in self.storage
def setex(self, rkey, value, expiration):