zhenxun_bot/zhenxun/builtin_plugins/hooks
HibiKier e7f3c210df
修复并发时数据库超时 (#2063)
* 🔧 修复和优化:调整超时设置,重构检查逻辑,简化代码结构

- 在 `chkdsk_hook.py` 中重构 `check` 方法,提取公共逻辑
- 更新 `CacheManager` 中的超时设置,使用新的 `CACHE_TIMEOUT`
- 在 `utils.py` 中添加缓存逻辑,记录数据库操作的执行情况

*  feat(auth): 添加并发控制,优化权限检查逻辑

* Update utils.py

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-09 08:46:08 +08:00
..
auth 修复并发时数据库超时 (#2063) 2025-10-09 08:46:08 +08:00
__init__.py 修复并发时数据库超时 (#2063) 2025-10-09 08:46:08 +08:00
auth_checker.py 修复并发时数据库超时 (#2063) 2025-10-09 08:46:08 +08:00
auth_hook.py 引入缓存机制 (#1889) 2025-07-14 22:35:29 +08:00
call_hook.py feat(llm): 增强LLM服务,支持图片生成、响应验证与OpenRouter集成 (#2054) 2025-10-01 18:41:46 +08:00
chkdsk_hook.py 修复并发时数据库超时 (#2063) 2025-10-09 08:46:08 +08:00
limiter_hook.py feat(limit, message): 引入声明式限流系统并增强消息格式化功能 (#1978) 2025-07-15 17:13:33 +08:00
withdraw_hook.py feat: add coser 2024-03-27 11:53:37 +08:00