Skip to content

Commit d68e008

Browse files
committed
Merge pull request #66 from mkaplenko/master
This statement without a specific error code (only index) leads to Ke…
2 parents d92b92a + 6091e40 commit d68e008

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tarantool/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ def check(): # Check that connection is alive
241241
return
242242

243243
attempt = 0
244-
last_errno = 0
244+
last_errno = errno.ECONNRESET
245245
while True:
246246
time.sleep(self.reconnect_delay)
247247
try:

0 commit comments

Comments
 (0)