mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-21 10:09:33 +00:00
fix: 修复 celery 丢失心跳不会重连的问题
This commit is contained in:
parent
783bddf2c7
commit
ee1ec6aeee
@ -30,7 +30,9 @@ class CeleryBaseService(BaseService):
|
|||||||
'-l', 'INFO',
|
'-l', 'INFO',
|
||||||
'-c', str(self.num),
|
'-c', str(self.num),
|
||||||
'-Q', self.queue,
|
'-Q', self.queue,
|
||||||
'-n', f'{self.queue}@{server_hostname}'
|
'--heartbeat-interval', '10',
|
||||||
|
'-n', f'{self.queue}@{server_hostname}',
|
||||||
|
'--without-mingle',
|
||||||
]
|
]
|
||||||
return cmd
|
return cmd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user