Skip to content

Commit

Permalink
⚡ 性能提升200倍
Browse files Browse the repository at this point in the history
  • Loading branch information
snowykami committed Oct 20, 2024
1 parent 13b95c2 commit 70bfb0f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 33 deletions.
1 change: 0 additions & 1 deletion liteyuki/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def init_log(config: dict):
"""
global logger
level = config.get("log_level", "DEBUG")
print("初始化日志系统", level)
logger.remove()
logger.add(
sys.stdout,
Expand Down
54 changes: 27 additions & 27 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ dependencies = [
"toml>=0.10.2",
"watchdog>=4.0.1",
"pdm-backend>=2.3.3",
"magicoca>=1.0.5",
"croterline~=1.0.5",
"magicoca>=1.0.6",
"croterline>=1.0.7",
]

[project.urls]
Expand Down
5 changes: 2 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ httpx>=0.27.0
nonebot-plugin-htmlrender>=0.1.0
nonebot2[fastapi,httpx,websockets]>=2.3.3
nonebot-adapter-onebot>=2.4.3
nonebot-plugin-alconna>=0.53.0
nonebot-plugin-alconna>=0.53.1
nonebot_plugin_apscheduler>=0.4.0
nonebot-adapter-satori>=0.11.5
mysql-connector-python>=9.1.0
Expand Down Expand Up @@ -35,5 +35,4 @@ fastapi~=0.115.0

# liteyuki dependencies
croterline>=1.0.7
magicoca>=1.0.5
mysql-connector-python~=9.1.0
magicoca>=1.0.5

0 comments on commit 70bfb0f

Please sign in to comment.