This commit is contained in:
yumoqing 2025-10-28 10:17:26 +08:00
parent c3d7ffc118
commit 84d740ad3d

View File

@ -70,7 +70,7 @@ class SqlorPool:
yielded_sqlor = None yielded_sqlor = None
for s in sqlors: for s in sqlors:
if not s.used: if not s.used:
flg = self.test_sqlor(s): flg = await self.test_sqlor(s)
if flg: if flg:
yielded_sqlor = s yielded_sqlor = s
else: else: