From d3fe88382ff3cc5e04b8c5a989ed80bd0449c98a Mon Sep 17 00:00:00 2001 From: mkue Date: Sun, 16 Jun 2024 21:06:25 +0200 Subject: [PATCH] refactor(functions): increase memory limit of first-payout-email function --- functions/src/cron/first-payout-email/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/src/cron/first-payout-email/index.ts b/functions/src/cron/first-payout-email/index.ts index b6b0fe73a..d0c175150 100644 --- a/functions/src/cron/first-payout-email/index.ts +++ b/functions/src/cron/first-payout-email/index.ts @@ -63,7 +63,7 @@ export const getFirstPayoutEmailReceivers = async ( }; // Run on the 16th of every month at 15:00 UTC -export default onSchedule('0 15 16 * *', async () => { +export default onSchedule({ schedule: '0 15 16 * *', memory: '2GiB' }, async () => { let message: string = ''; const sendgridClient = new SendgridMailClient(process.env.SENDGRID_API_KEY!); try {