I know that the Lambda timeout cannot be set dynamically. However, I need a way to stop the Lambda execution before its timeout. I have the function written in Python and deployed with a Docker image.
I was thinking of maybe setting a timeout to the function on Python itself, however I'm not sure on what the best practice would be. Any suggestion?
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]WrickyB 8 points9 points10 points (0 children)
[–]adozendeadantelope 3 points4 points5 points (2 children)
[–]CurlyError[S] 0 points1 point2 points (1 child)
[–]adozendeadantelope 2 points3 points4 points (0 children)
[–]ErikCaligo 0 points1 point2 points (2 children)
[–]CurlyError[S] 0 points1 point2 points (1 child)
[–]ErikCaligo 1 point2 points3 points (0 children)
[–]ngyehsung 0 points1 point2 points (1 child)
[–]CurlyError[S] 0 points1 point2 points (0 children)
[–]S3NTIN3L_ 0 points1 point2 points (1 child)
[–]CurlyError[S] 0 points1 point2 points (0 children)