From 46af755e606e8ab21e0f31f1de451ffc7e3aca56 Mon Sep 17 00:00:00 2001 From: murali-shankar Date: Fri, 27 Nov 2020 21:16:06 +0530 Subject: [PATCH] Fix for Issue No : #237 This is the fix for connection pool error. --- rethinkdb/trio_net/net_trio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rethinkdb/trio_net/net_trio.py b/rethinkdb/trio_net/net_trio.py index 6ac42df2..bd0e5309 100644 --- a/rethinkdb/trio_net/net_trio.py +++ b/rethinkdb/trio_net/net_trio.py @@ -502,7 +502,7 @@ async def acquire(self): # still connected. conn = self._connections.popleft() except IndexError: - conn = await make_connection(*self._args, **self._kwargs) + conn = await make_connection(Connection, *self._args, **self._kwargs) self._lent_out.add(conn) return conn