ShadowClone icon indicating copy to clipboard operation
ShadowClone copied to clipboard

Amazon Lamba Execution time 5 minutes

Open vysecurity opened this issue 2 years ago • 2 comments

Error:

Function exceeded maximum time of 295 seconds and was killed

However, the main README.md mentions the maximum time is 15 minutes which should be 3 times this amount at around 900 seconds.

vysecurity avatar May 01 '23 14:05 vysecurity

15 minutes is the maximum execution time for AWS lambda. You can increase the runtime_timeout upto 900 seconds by editing the ~/.lithops/config file. I have found 5 minutes to be enough for most of the tasks. Remember, lambda pricing is based on GB/second so it's always good to configure your tasks to run as quickly as possible

fyoorer avatar May 01 '23 15:05 fyoorer

Got it, I updated both the runtime_timeout and the --timeout flag in the command.

I found nuclei never finishes running on all templates. Nuclei never finishes running even with a WAF template.

vysecurity avatar May 01 '23 15:05 vysecurity