mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
统一使用 app.core.cache 中的 TTLCache
This commit is contained in:
+2
-2
@@ -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连接和操作助手类
|
||||
|
||||
|
||||
Reference in New Issue
Block a user