Skip to content

Commit

Permalink
set a review fallback threshold
Browse files Browse the repository at this point in the history
  • Loading branch information
szdytom committed Jul 2, 2024
1 parent 7e733f2 commit ff3b27d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class RatingStore {
async getItem(wordlist) {
let step = await this.currentStep();
let review = [], learn = [], fallback = [];
let fallback_gap = Infinity;
let fallback_gap = 12;
for (let word of wordlist) {
let item = await this.db.get('ratings', word);
if (item.learnt) {
Expand Down

0 comments on commit ff3b27d

Please sign in to comment.