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