Skip to content

Commit 8f4fde2

Browse files
committed
testing
1 parent b1c2b83 commit 8f4fde2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymongo/asynchronous/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,10 +835,10 @@ def _create_connection(address: _Address, options: PoolOptions) -> socket.socket
835835
timeout = options.connect_timeout
836836
elif timeout <= 0:
837837
raise socket.timeout("timed out")
838-
print(f"Socket timeout: {timeout}")
839838
sock.settimeout(timeout)
840839
sock.setsockopt(socket.SOL_SOCKET, socket.SO_KEEPALIVE, True)
841840
_set_keepalive_times(sock)
841+
print(f"Socket: {sock}, {sock.timeout}")
842842
sock.connect(sa)
843843
return sock
844844
except OSError as e:

0 commit comments

Comments
 (0)