def _backend_setup(self, *args, **kwargs): self.celery = turbinia_celery.TurbiniaCelery() self.celery.setup() self.kombu = turbinia_celery.TurbiniaKombu(config.KOMBU_CHANNEL) self.kombu.setup() self.celery_runner = self.celery.app.task(task_runner, name="task_runner")
def _backend_setup(self, *args, **kwargs): self.celery = turbinia_celery.TurbiniaCelery() self.celery.setup() self.kombu = turbinia_celery.TurbiniaKombu(config.KOMBU_CHANNEL) self.kombu.setup()