统一使用 app.core.cache 中的 TTLCache

This commit is contained in:
jxxghp
2025-08-20 12:43:30 +08:00
parent 843dfc430a
commit 5b0bb19717
4 changed files with 102 additions and 8 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ from app.core.event import eventmanager, Event
from app.log import logger
from app.schemas import ConfigChangeEventData
from app.schemas.types import EventType
from app.utils.singleton import SingletonClass
from app.utils.singleton import Singleton
class RedisHelper(metaclass=SingletonClass):
class RedisHelper(metaclass=Singleton):
"""
Redis连接和操作助手类