Skip to content

Commit 2784bc5

Browse files
committed
Decrease limit for IN query for performance
1 parent 6ca32a2 commit 2784bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/user-feeds/src/articles/partitioned-feed-article-field-store.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class PartitionedFeedArticleFieldStoreService {
116116
> {
117117
const oneMonthAgo = dayjs().subtract(1, "month").toISOString();
118118

119-
if (ids.length < 70) {
119+
if (ids.length < 50) {
120120
return this.connection.execute(
121121
`SELECT field_hashed_value` +
122122
` FROM ${this.TABLE_NAME}` +

0 commit comments

Comments
 (0)