fix: 修复 celery 丢失心跳不会重连的问题

pull/8892/head
ibuler 2 years ago committed by Jiangjie.Bai
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…
Cancel
Save