-
-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
添加MySQL超时参数、本地文件缓存模块 #27
Conversation
添加MySQL超时参数
modified: Dockerfile modified: app/api/__init__.py 启动定时任务,删除缓存的视频 modified: app/api/a4gtv/tasks.py 增加定时任务,删除缓存的视频 modified: app/api/a4gtv/utile.py 增加本地文件处理模块,缓存视频到本地 modified: app/api/v2/endpoints/sgtv.py 增加本地文件处理模块,缓存视频到本地 modified: app/assets/config.ini 增加配置提示,数据库不配置mysql会使用本地缓存 modified: app/conf/config.py 增加配置参数datadir,用于指定缓存文件地址 new file: app/db/localfile.py 增加本地文件处理模块
Changes to be committed:
增加本地文件缓存模块 modified: Dockerfile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
新增支持对online接口的视频缓存到本地
增加数据库超时机制
做的很好,感谢对程序的完善,共同创造将使路走的更远
构建镜像时需要gcc环境支持,所以需要安装所需依赖,完整构建报错日志:https://github.com/239144498/Streaming-Media-Server-Pro/actions/runs/3451776563/jobs/5761233635 |
添加MySQL超时参数
之前运行一段时间后卡住的问题还是存在,但是添加了这个参数之后,目前没有什么问题。虽然我也不知道为什么😅