Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
fix several issues with the autodraining lambda #23
This patch makes the following changes that address several issues
That is correct. The sleep time is to avoid the API throttling errors that we were encountering in our accounts (even beyond the autodraining lambdas). According to the AWS pricing page, the 128MB Lambdas with 128MB of RAM get 3,200,000 free seconds per month. Beyond that, each 5 second pause will cost cost $0.000010400. If I recall correctly, the EC2 scale down timeout is set to 15 minutes in the template. Brian…
On Wed, Jul 11, 2018 at 11:28:31AM -0700, Leonid wrote: Calling time.sleep(5) does not stop the execution environment. You will still pay for the duration of the execution environment, from the time the function is invoked until the time the function exits. -- You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub: #23 (comment)
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.