减少批量

This commit is contained in:
wuaho 2021-07-28 20:17:21 +08:00
parent 41638d385c
commit 3b1e73937d

View File

@ -64,6 +64,8 @@ class CK:
try:
data, columns = self.__client.execute(sql, columnar=True, with_column_types=True)
except Exception as e:
print('*'*50)
print(sql)
traceback.print_exc()
if e.code == 60:
return self.get_all(db, 'user', where, try_cnt - 1)