server/sources/pyrorql.py
branchstable
changeset 8545 eb7a171cec72
parent 8354 a9984ceebc26
child 8675 b60329e40e26
equal deleted inserted replaced
8536:d764a2331a81 8545:eb7a171cec72
    89         try:
    89         try:
    90             cnx._repo._transferThread(threading.currentThread())
    90             cnx._repo._transferThread(threading.currentThread())
    91         except AttributeError:
    91         except AttributeError:
    92             # inmemory connection
    92             # inmemory connection
    93             pass
    93             pass
    94         return super(PyroRQLSource, self).check_connection(cnx)
    94         try:
       
    95             return super(PyroRQLSource, self).check_connection(cnx)
       
    96         except ConnectionClosedError:
       
    97             # try to reconnect
       
    98             return self.get_connection()
    95 
    99