feat: taskiq user process pool
This commit is contained in:
@@ -8,7 +8,7 @@ log_info() {
|
|||||||
}
|
}
|
||||||
# Start the Taskiq worker
|
# Start the Taskiq worker
|
||||||
log_info "Starting 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 when the Taskiq worker stops
|
||||||
log_info "Taskiq worker stopped"
|
log_info "Taskiq worker stopped"
|
||||||
|
|||||||
Reference in New Issue
Block a user