Fix runtime issues: add Redis dependency and Flask context handling
- Add redis==5.2.0 to requirements.txt and requirements-build.txt - Fix Flask application context issue in log_daemon_event function - Add has_app_context() check before database logging operations - Ensure daemon logging works both inside and outside Flask context
Showing
| ... | ... | @@ -20,3 +20,4 @@ watchdog==6.0.0 |
| click==8.1.7 | ||
| colorlog==6.8.2 | ||
| marshmallow==3.23.1 | ||
| redis==5.2.0 | ||
| \ No newline at end of file |
Please
register
or
sign in
to comment