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