This commit is contained in:
2025-06-09 00:18:57 +08:00
parent e3dbe8a7d3
commit 8226a78482
10 changed files with 196 additions and 92 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ def get_redis_info(redis, key, fun,without_gzip=False):
info = json.loads(redis.get(key))
else:
info = json.loads(gzip_unzip(redis.get(key)))
except Exception as ex:
except Exception:
info = None
if info is None:
info = fun()