mirror of
https://github.com/ankitects/anki.git
synced 2025-11-09 14:17:13 -05:00
Restrict bin count to 100
This commit is contained in:
parent
64064410a3
commit
c4f9a35af4
1 changed files with 2 additions and 2 deletions
|
|
@ -206,9 +206,9 @@ from revlog where id > ? """+lim, (self.col.sched.dayCutoff-86400)*1000)
|
||||||
end, chunk = 52, 7
|
end, chunk = 52, 7
|
||||||
elif self.type == 2:
|
elif self.type == 2:
|
||||||
end = None
|
end = None
|
||||||
if self._deckAge(by) < 365:
|
if self._deckAge(by) <= 100:
|
||||||
chunk = 1
|
chunk = 1
|
||||||
elif self._deckAge(by) < 1000:
|
elif self._deckAge(by) <= 700:
|
||||||
chunk = 7
|
chunk = 7
|
||||||
else:
|
else:
|
||||||
chunk = 31
|
chunk = 31
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue