Exemple #1
0
 def pools_controller(self):
     controller = controllers.PoolsController(self)
     if (self.conf.profiler.enabled
             and self.conf.profiler.trace_management_store):
         return profiler.trace_cls("mongodb_pools_controller")(controller)
     else:
         return controller
Exemple #2
0
 def pools_controller(self):
     return controllers.PoolsController(self)