feat: switch to redis backend
This commit is contained in:
@@ -1,14 +1,3 @@
|
||||
#!/bin/bash
|
||||
ulimit -n 97816
|
||||
taskiq worker background:taskiq_broker background.tasks
|
||||
|
||||
GREEN='\033[0;32m'
|
||||
|
||||
log_info() {
|
||||
echo -e "${GREEN}[INFO] $1${NC}"
|
||||
}
|
||||
# Start the Taskiq worker
|
||||
log_info "Starting Taskiq worker..."
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user