MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / _set_nodelay

Function _set_nodelay

asyncpg/connect_utils.py:1302–1304  ·  view source on GitHub ↗
(sock)

Source from the content-addressed store, hash-verified

1300
1301
1302def _set_nodelay(sock):
1303 if not hasattr(socket, 'AF_UNIX') or sock.family != socket.AF_UNIX:
1304 sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
1305
1306
1307def _create_future(loop):

Callers 2

_create_ssl_connectionFunction · 0.85
_cancelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…