优化IO问题
This commit is contained in:
4
main.py
4
main.py
@@ -137,10 +137,6 @@ def jobs(robot: Robot):
|
||||
logger.info("图片缓存更新完成")
|
||||
|
||||
|
||||
@async_job.every_minutes(1)
|
||||
async def check_open_files():
|
||||
os.open
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
@@ -6,7 +6,7 @@ cd /home/liuwei/abot
|
||||
# 拉取最新代码
|
||||
git pull origin feature-855 # 根据需要拉取对应的分支
|
||||
#切换虚拟环境
|
||||
source venv/bin/activate
|
||||
source .venv/bin/activate
|
||||
|
||||
pip install -r requirements.txt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user