diff options
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/info/doc/_redis_cache.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/exts/info/doc/_redis_cache.py b/bot/exts/info/doc/_redis_cache.py index 52cb2bc94..cab51c3f1 100644 --- a/bot/exts/info/doc/_redis_cache.py +++ b/bot/exts/info/doc/_redis_cache.py @@ -27,8 +27,8 @@ class DocRedisCache(RedisObject):          needs_expire = False          with await self._get_pool_connection() as connection: -            if item.package+url_key not in self._set_expires: -                self._set_expires.add(item.package+url_key) +            if redis_key not in self._set_expires: +                self._set_expires.add(redis_key)                  needs_expire = not await connection.exists(redis_key)              await connection.hset(redis_key, item.symbol_id, value) | 
