mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
longer ivl limit in db check
https://anki.tenderapp.com/discussions/ankidesktop/19394-strange-behavior-with-year-long-intervals
This commit is contained in:
parent
72f128156e
commit
ddbf634dd5
1 changed files with 1 additions and 1 deletions
|
@ -790,7 +790,7 @@ and queue = 0""", intTime(), self.usn())
|
||||||
"select max(due)+1 from cards where type = 0") or 0
|
"select max(due)+1 from cards where type = 0") or 0
|
||||||
# reviews should have a reasonable due #
|
# reviews should have a reasonable due #
|
||||||
ids = self.db.list(
|
ids = self.db.list(
|
||||||
"select id from cards where queue = 2 and due > 10000")
|
"select id from cards where queue = 2 and due > 100000")
|
||||||
if ids:
|
if ids:
|
||||||
problems.append("Reviews had incorrect due date.")
|
problems.append("Reviews had incorrect due date.")
|
||||||
self.db.execute(
|
self.db.execute(
|
||||||
|
|
Loading…
Reference in a new issue