diff --git a/tarantool/connection.py b/tarantool/connection.py index aafdb89a..e6b102e0 100644 --- a/tarantool/connection.py +++ b/tarantool/connection.py @@ -241,7 +241,7 @@ def check(): # Check that connection is alive return attempt = 0 - last_errno = 0 + last_errno = errno.ECONNRESET while True: time.sleep(self.reconnect_delay) try: