示例#1
0
文件: driver.py 项目: sarath49/zaqar
 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("sqlalchemy_queue_"
                                   "controller")(controller)
     else:
         return controller
示例#2
0
 def queue_controller(self):
     return controllers.QueueController(self)