What is Flask-RQ?
mainFlask-RQ is an extension for Flask and Quart that enables background job execution using RQ.
It provides several key benefits:
- Non-blocking execution: Queue functions to run in separate worker processes, allowing long-running tasks to run in the background without delaying web responses.
- Application Context Integration: Automatically handles executing jobs within the application context, ensuring that services like database connections are available to the background task.
- Configuration: Allows configuring RQ settings directly through Flask's configuration object.
- Scheduling: Supports Cron-style scheduling for periodic jobs via RQ.