Esempio n. 1
0
 def connectionRecovered(self):
     logger.warning('TxPool connection recovered')
     return DeadConnectionDetector.connectionRecovered(self)
Esempio n. 2
0
 def reconnect(self):
     logger.warning('TxPool reconnecting...')
     return DeadConnectionDetector.reconnect(self)
Esempio n. 3
0
 def startReconnecting(self, f):
     logger.warning('TxPool database connection down: %r)', f.value)
     return DeadConnectionDetector.startReconnecting(self, f)
Esempio n. 4
0
 def connectionRecovered(self):
     print("INFO: connection recovered")
     return DeadConnectionDetector.connectionRecovered(self)
Esempio n. 5
0
 def reconnect(self):
     print("INFO: Reconnecting...")
     return DeadConnectionDetector.reconnect(self)
Esempio n. 6
0
 def startReconnecting(self, f):
     print("ERROR: database connection is down (error: {0})"
           .format(f.value))
     return DeadConnectionDetector.startReconnecting(self, f)