Skip to content

Commit c42d75b

Browse files
committed
Smaller Batch for messages
1 parent 2eac6e3 commit c42d75b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/backend/src/cron/processQueuedCampaigns.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { Subscriber, Prisma, SubscriberMetadata } from "../../prisma/client"
1010
import { cronJob } from "./cron.utils"
1111

1212
// TODO: Make this a config
13-
const BATCH_SIZE = 50
13+
const BATCH_SIZE = 10
1414

1515
async function getSubscribersForCampaign(
1616
campaignId: string

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.5.4",
2+
"version": "0.5.5",
33
"name": "letterspace",
44
"private": true,
55
"scripts": {

0 commit comments

Comments
 (0)