From 0412424c9735a48fabcff1efd022965e0cfeecc4 Mon Sep 17 00:00:00 2001
From: Administrator <admin@example.com>
Date: 星期四, 31 十月 2024 01:29:52 +0800
Subject: [PATCH] redis生效时间修改

---
 utils/tool.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/utils/tool.py b/utils/tool.py
index eb76828..510fe81 100644
--- a/utils/tool.py
+++ b/utils/tool.py
@@ -28,7 +28,7 @@
     end = int(t.mktime(t.strptime(local_time, "%Y-%m-%d")))
     expire = end - now
     # 鍔犻殢鏈烘暟锛岄槻姝竴璧烽攢姣佹暟鎹�
-    expire += random.randint(0, 60 * 60)
+    expire += random.randint(0, 60 * 30)
     return expire
 
 

--
Gitblit v1.8.0