Esempio n. 1
0
 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")
Esempio n. 2
0
 def _backend_setup(self):
     self.celery = turbinia_celery.TurbiniaCelery()
     self.celery.setup()
     self.worker = self.celery.app