def add_runtime_service(self, component, *args, **kwargs):
     inited = BaseService.add_runtime_service(self, component, *args, **kwargs)
     if self.is_multiprocess and component == "db":
         self.send("DB_OPEN")
     return inited
Exemple #2
0
 def add_runtime_service(self, component, *args, **kwargs):
     inited = BaseService.add_runtime_service(self, component, *args,
                                              **kwargs)
     if self.is_multiprocess and component == 'db':
         self.send('DB_OPEN')
     return inited