Sione
04/19/2022, 5:52 PMretryAttempts
is hard set to `0`: https://github.com/serverless-stack/serverless-stack/blob/9cf405643a2172e243f3120db4ba837563623135/packages/resources/src/Function.ts#L674. I saw the note on why it’s set to zero, and I'm not sure if I've ran into the same issue with Cron, but I was wondering if it can be allowed to be override if we do pass the retryAttempts
prop explicitly instead of hard set to zero on local dev. I would like a consistent behavior on local dev and deployed when error is thrown, to be retried. It would probably be worth noting it on doc that the default is set to 0
instead of the AWS's default of 2
to avoid confusion like I just went through.Frank
Frank
Sione
04/20/2022, 1:01 AMSione
04/20/2022, 1:04 AM