예제 #1
0
 def startService(self):
     log.info("starting DBase Service")
     yield self.schema()
     self.startTasks()
     # Remainder Service initialization
     Service.startService(self)
     log.info("Database operational.")
예제 #2
0
 def startService(self):
     log.info("starting DBase Service on {database}",
              database=self.options['connection_string'])
     self.schema()
     # setup the connection pool for asynchronouws adbapi
     self.openPool()
     self.startTasks()
     # Remainder Service initialization
     Service.startService(self)
     log.info("Database operational.")