mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04: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
|
||||
elif self.type == 2:
|
||||
end = None
|
||||
if self._deckAge(by) < 365:
|
||||
if self._deckAge(by) <= 100:
|
||||
chunk = 1
|
||||
elif self._deckAge(by) < 1000:
|
||||
elif self._deckAge(by) <= 700:
|
||||
chunk = 7
|
||||
else:
|
||||
chunk = 31
|
||||
|
|
Loading…
Reference in a new issue