Skip to content

Commit

Permalink
Decrease limit for IN query for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
synzen committed Dec 10, 2024
1 parent 6ca32a2 commit 2784bc5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class PartitionedFeedArticleFieldStoreService {
> {
const oneMonthAgo = dayjs().subtract(1, "month").toISOString();

if (ids.length < 70) {
if (ids.length < 50) {
return this.connection.execute(
`SELECT field_hashed_value` +
` FROM ${this.TABLE_NAME}` +
Expand Down

0 comments on commit 2784bc5

Please sign in to comment.