feat: taskiq user process pool

This commit is contained in:
2025-11-20 15:38:45 +03:00
parent 3a30758a71
commit c635235f74

View File

@@ -8,7 +8,7 @@ log_info() {
}
# Start the Taskiq worker
log_info "Starting Taskiq worker..."
taskiq worker background:taskiq_broker background.tasks --max-async-task 1000 --max-threadpool-threads 8 --max-prefetch 10000 --workers 1
taskiq worker background:taskiq_broker background.tasks --max-async-task 100 --use-process-pool --max-prefetch 100 --workers 1
# Log when the Taskiq worker stops
log_info "Taskiq worker stopped"