testing django_q2
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s

This commit is contained in:
pierre.geeraert
2026-09-09 17:09:15 +01:00
parent a00baa490f
commit 1012ea31ad
2 changed files with 8 additions and 7 deletions
+7 -6
View File
@@ -253,10 +253,11 @@ PROXIES = {
"https" : PROXY_URL
}
Q_CLUSTER = {
"name": "django_kube",
"timeout": 60, # kill a task after 60s
"retry": 120, # must be > timeout, leave headroom
"max_attempts": 3, # otherwise a poison task retries forever
"ack_failures": True, # don't requeue tasks that raised
# ... your broker settings
'name': 'DjangORM',
'workers': 4,
'timeout': 90,
'retry': 120,
'queue_limit': 50,
'bulk': 10,
'orm': 'default'
}