From 1a6e6fa9a5ca600c439c93b3d76db64720637bfd Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 21 Oct 2019 15:16:52 +0800 Subject: [PATCH] bugfix --- sqlor/dbpools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlor/dbpools.py b/sqlor/dbpools.py index 636e953..28e28d1 100644 --- a/sqlor/dbpools.py +++ b/sqlor/dbpools.py @@ -66,7 +66,7 @@ class LifeConnect: while loop_cnt > 0: if await self.testok(): return self.conn - asyncio.sleep(wait_time) + await asyncio.sleep(wait_time) wait_time = wait_time + 0.4 loop_cnt = loop_cnt - 1 try: