Also update queue/builder/mod.rs

This commit is contained in:
user1823 2026-01-06 20:27:31 +05:30 committed by GitHub
parent 1e9fca2ecc
commit bef595ae13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -194,7 +194,7 @@ impl QueueBuilder {
let cutoff = now.adding_secs(learn_ahead_secs);
let learn_count = intraday_learning
.iter()
.take_while(|e| e.due <= cutoff)
.filter(|e| e.due <= cutoff)
.count()
+ self.day_learning.len();