减少批量
This commit is contained in:
parent
41638d385c
commit
3b1e73937d
2
v2/db.py
2
v2/db.py
@ -64,6 +64,8 @@ class CK:
|
|||||||
try:
|
try:
|
||||||
data, columns = self.__client.execute(sql, columnar=True, with_column_types=True)
|
data, columns = self.__client.execute(sql, columnar=True, with_column_types=True)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
print('*'*50)
|
||||||
|
print(sql)
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
if e.code == 60:
|
if e.code == 60:
|
||||||
return self.get_all(db, 'user', where, try_cnt - 1)
|
return self.get_all(db, 'user', where, try_cnt - 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user