Skip to content

Commit d251d17

Browse files
committed
Fix cutoff date
1 parent 85caa98 commit d251d17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/update-downloads.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ fn collect(tx: &postgres::Transaction,
6868
// Anything older than 24 hours ago will be frozen and will not be queried
6969
// against again.
7070
let cutoff = time::now_utc().to_timespec();
71-
let cutoff = cutoff + Duration::days(1);
71+
let cutoff = cutoff - Duration::days(1);
7272

7373
let mut map = HashMap::new();
7474
for row in rows.iter() {

0 commit comments

Comments
 (0)