mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 05:07:10 -05:00
reduce sync chunk size
This commit is contained in:
parent
08e5caef87
commit
3d5d852708
1 changed files with 1 additions and 1 deletions
|
|
@ -321,7 +321,7 @@ from notes where %s""" % d)
|
||||||
|
|
||||||
def chunk(self):
|
def chunk(self):
|
||||||
buf = dict(done=False)
|
buf = dict(done=False)
|
||||||
lim = 2500
|
lim = 250
|
||||||
while self.tablesLeft and lim:
|
while self.tablesLeft and lim:
|
||||||
curTable = self.tablesLeft[0]
|
curTable = self.tablesLeft[0]
|
||||||
if not self.cursor:
|
if not self.cursor:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue