@trigger.dev/resend now retries failed email sends
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@trigger.dev/resend": patch
|
||||
---
|
||||
|
||||
Sending emails should retry if there are errors
|
||||
@@ -37,6 +37,13 @@ export const sendEmail: AuthenticatedTask<
|
||||
},
|
||||
...subjectProperty,
|
||||
],
|
||||
retry: {
|
||||
limit: 8,
|
||||
factor: 1.8,
|
||||
minTimeoutInMs: 500,
|
||||
maxTimeoutInMs: 30000,
|
||||
randomize: true,
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user