コード例 #1
0
 def message_controller(self):
     controller = controllers.MessageController(self)
     if (self.conf.profiler.enabled
             and self.conf.profiler.trace_message_store):
         return profiler.trace_cls("mongodb_message_controller")(controller)
     else:
         return controller
コード例 #2
0
 def message_controller(self):
     return controllers.MessageController(self)