Skip to content

Conversation

@deleugpn
Copy link
Member

@deleugpn deleugpn commented Oct 9, 2020

This is a different approach for #770. The question remains the same: Should bref support APIs that take longer than 30 seconds via ALB?

The environment variable approach has it's downsides of being weird. During Lambda configuration, I'll have to setup my timeout on Lambda Timeout and set it up again on a BREF environment variable. But it seems less error-prone and simpler to document and maintain. If AWS ever decides to offer an automatic environment variable with the timeout, it's an easy migration path forward.

This approach has no mixing of layers or weird overwrites, but it does come with an environment variable maintenance cost.

@mnapoli mnapoli merged commit 5ee64d2 into brefphp:master Oct 9, 2020
@deleugpn deleugpn deleted the timeout-2 branch October 9, 2020 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants