예제 #1
0
파일: driver.py 프로젝트: weizai118/zaqar
 def claim_controller(self):
     controller = controllers.ClaimController(self)
     if (self.conf.profiler.enabled
             and self.conf.profiler.trace_message_store):
         return profiler.trace_cls("redis_claim_controller")(controller)
     else:
         return controller
예제 #2
0
파일: driver.py 프로젝트: pombredanne/zaqar
 def claim_controller(self):
     return controllers.ClaimController(self)