Skip to content

Commit 4986fdf

Browse files
Fix for Issue No : #237 (#238)
This is the fix for connection pool error.
1 parent e0f62b1 commit 4986fdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rethinkdb/trio_net/net_trio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ async def acquire(self):
502502
# still connected.
503503
conn = self._connections.popleft()
504504
except IndexError:
505-
conn = await make_connection(*self._args, **self._kwargs)
505+
conn = await make_connection(Connection, *self._args, **self._kwargs)
506506

507507
self._lent_out.add(conn)
508508
return conn

0 commit comments

Comments
 (0)