aws / aws-lambda-go

Libraries, samples and tools to help Go developers develop AWS Lambda functions.
Apache License 2.0
3.64k stars 554 forks source link

AWS Lambda be triggered twice in 5 seconds #567

Closed rts-gordon closed 3 months ago

rts-gordon commented 4 months ago

Hi there,

I have an AWS Lambda Function wrote by Golang v1.22, aws-lambda-go v1.47.0 and deploy to "Lambda Amazon Linux 2 arm 64" environment.

Sometimes this function will be triggered twice by one http api call in 5 seconds: one is successful, another one is failed with connection to database, then no more http api call will successful.

Does anyone knows how to fix this issue? Thank you very much.

image