feat: switch to redis backend

This commit is contained in:
2025-11-25 18:26:43 +03:00
parent ca2157d71a
commit 3bf182c7db
6 changed files with 26 additions and 62 deletions

View File

@@ -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"