Skip to content

Commit

Permalink
refactor(functions): increase memory limit of first-payout-email func…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
mkue committed Jun 16, 2024
1 parent 7179136 commit d3fe883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/cron/first-payout-email/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d3fe883

Please sign in to comment.