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