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