def startService(self): log.info("starting DBase Service") yield self.schema() self.startTasks() # Remainder Service initialization Service.startService(self) log.info("Database operational.")
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.")