Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit b6952d0

Browse files
committed
FIX: Fix ordering of random post embeddings backfill
1 parent be05e28 commit b6952d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/scheduled/embeddings_backfill.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def execute(args)
110110
.pluck(:id)
111111

112112
outdated_post_ids.each_slice(posts_batch_size) do |batch|
113-
vector_rep.gen_bulk_reprensentations(Post.where(id: batch).order("topics.bumped_at DESC"))
113+
vector_rep.gen_bulk_reprensentations(Post.where(id: batch))
114114
rebaked += batch.length
115115
end
116116

0 commit comments

Comments
 (0)