-
Hi all, it's me again. I have a process that handles errors internally by sending emails on failure. As such I don't want the queue running multiple times on the same request. The default with serverless seems to be set 3 retries, and I can't find any information about how to disable that, aside from going into AWS console and manually editing it, which gets overwritten the next time I deploy. Setting maxRetries for the worker in serverless.yml doesn't seem to do anything, it still shows 3 in AWS console after a deploy.
How can I make it so when the execution fails it goes straight into the dead letter queue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think the config should be this (maxRetries outside of the worker key)
|
Beta Was this translation helpful? Give feedback.
I think the config should be this (maxRetries outside of the worker key)