mirror of https://github.com/jumpserver/jumpserver
fix: 修复 celery 丢失心跳不会重连的问题
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