Enhance bot functionality and refactor database interactions
- Added `ca-certificates` installation to Dockerfile for improved network security. - Updated health check command in Dockerfile to include better timeout handling. - Refactored `run_helper.py` to implement proper signal handling and logging during shutdown. - Transitioned database operations to an asynchronous model in `async_db.py`, improving performance and responsiveness. - Updated database schema to support new foreign key relationships and optimized indexing for better query performance. - Enhanced various bot handlers to utilize async database methods, improving overall efficiency and user experience. - Removed obsolete database and fix scripts to streamline the project structure.
This commit is contained in:
@@ -18,6 +18,11 @@ apscheduler~=3.10.4
|
||||
prometheus-client==0.19.0
|
||||
aiohttp==3.9.1
|
||||
|
||||
# Network stability improvements
|
||||
aiohttp[speedups]>=3.9.1
|
||||
aiodns>=3.0.0
|
||||
cchardet>=2.1.7
|
||||
|
||||
# Development tools
|
||||
pluggy==1.5.0
|
||||
attrs~=23.2.0
|
||||
|
||||
Reference in New Issue
Block a user