def queue_controller(self): controller = controllers.QueueController(self) if (self.conf.profiler.enabled and (self.conf.profiler.trace_message_store or self.conf.profiler.trace_management_store)): return profiler.trace_cls("mongodb_queues_controller")(controller) else: return controller
def queue_controller(self): return controllers.QueueController(self)