Skip to content

Commit

Permalink
Fixed recommendation scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
Azarattum committed Apr 23, 2024
1 parent 31d36db commit 8c1965c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/feed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ init(function* ({ feed: { chunk, recommendations } }) {

// Register recommendations update time for each user
for (const user of Object.keys(yield* async(users()))) {
const pool = recommend.schedule({ relative: +from, interval })(user, chunk);
const pool = recommend.schedule({ absolute: +from, interval })(user, chunk);
cleanup.add(pool.executor.controller);
pool.then();
}
Expand Down

0 comments on commit 8c1965c

Please sign in to comment.