This commit is contained in:
@@ -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'
|
||||
}
|
||||
Reference in New Issue
Block a user