feat: add TEMP cache type and enhance user and bot management with improved error handling and caching mechanisms

This commit is contained in:
HibiKier
2025-12-22 10:16:02 +08:00
parent 632dff3bad
commit a3cbfefaa1
6 changed files with 108 additions and 75 deletions
+1 -1
View File
@@ -708,7 +708,7 @@ class CacheManager:
if self._cache_backend:
try:
await self._cache_backend.close() # type: ignore
except (AttributeError, Exception) as e:
except Exception as e:
logger.warning(f"关闭缓存连接失败: {e}", LOG_COMMAND)
self._cache_backend = None