diff --git a/start_taskiq.sh b/start_taskiq.sh index 337d486..ae41107 100755 --- a/start_taskiq.sh +++ b/start_taskiq.sh @@ -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"