mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix retry time for Q_CLUSTER (#6489)
- Ensure it is *greater* than timeout
This commit is contained in:
parent
5ca007a184
commit
5af6b92f90
@ -847,7 +847,7 @@ Q_CLUSTER = {
|
||||
get_setting('INVENTREE_BACKGROUND_WORKERS', 'background.workers', 4)
|
||||
),
|
||||
'timeout': _q_worker_timeout,
|
||||
'retry': min(120, _q_worker_timeout + 30),
|
||||
'retry': max(120, _q_worker_timeout + 30),
|
||||
'max_attempts': int(
|
||||
get_setting('INVENTREE_BACKGROUND_MAX_ATTEMPTS', 'background.max_attempts', 5)
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user