Closed hanzei closed 1 year ago
Base: 20.33% // Head: 20.31% // Decreases project coverage by -0.02%
:warning:
Coverage data is based on head (
f7339cf
) compared to base (a141b16
). Patch coverage: 0.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Summary
When a lambda cold starts, the first request invocation takes longer than usual. This causes issues with the
/ping
calls as the timeout is quite tied.This PR increases the pin timeout for lambda functions to five seconds. In my testing, an E2E install call (which includes a
/ping
call) took 2-3 seconds with a freshly deployed lambda.I've also increased the timeout for other
/ping
calls from one second to two seconds, as the former was not enough for slow and long HTTP connections.Ticket Link
https://mattermost.atlassian.net/browse/MM-49992