def stopService(self): self.pool.close() d = Service.stopService() log.info("Database stopped.") return d
def stopService(self): try: yield Service.stopService(self) except Exception as e: log.error("Exception {excp!s}", excp=e) reactor.stop()
def stopService(self): self.closePool() d = Service.stopService() log.info("Database stopped.") return d