mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
scan for due learning cards more frequently
This commit is contained in:
parent
a951026413
commit
8f77cafb04
1 changed files with 2 additions and 2 deletions
|
@ -434,10 +434,10 @@ select id from cards where did in %s and queue = 0 limit ?)"""
|
|||
# Learning queues
|
||||
##########################################################################
|
||||
|
||||
# scan for any newly due learning cards every 5 minutes
|
||||
# scan for any newly due learning cards every minute
|
||||
def _updateLrnCutoff(self, force):
|
||||
nextCutoff = intTime() + self.col.conf['collapseTime']
|
||||
if nextCutoff - self._lrnCutoff > 300 or force:
|
||||
if nextCutoff - self._lrnCutoff > 60 or force:
|
||||
self._lrnCutoff = nextCutoff
|
||||
return True
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue