Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lambda): configuring log retention fails on 70+ Lambdas
When the Log Retention Lambda runs massively parallel (on 70+ Lambdas at the same time), it can run into throttling problems and fail. Raise the retry count and delays: - Raise the default amount of retries from 5 -> 10 - Raise the sleep base from 100ms to 1s. - Change the sleep calculation to apply the 10s limit *after* jitter instead of before (previously, we would take a fraction of 10s; now we're taking a fraction of the accumulated wait time, and after calculating that limit it to 10s). Fixes #31338.
- Loading branch information