-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ETL-683] Increase memory of raw lambda #140
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ Resources: | |
Handler: app.lambda_handler | ||
Runtime: !Sub "python${LambdaPythonVersion}" | ||
Role: !Ref RoleArn | ||
MemorySize: 1024 | ||
MemorySize: 1769 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Something i was thinking of but do we want to make this a variable instead? So the develop version of the lambda can declare a smaller memory size than the prod version since it won't use as much? Or were you running into this for both? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think there's much benefit. This is not an expensive function to run, so no harm in keeping the configurations the same. |
||
EphemeralStorage: | ||
Size: 2048 | ||
Timeout: 900 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Depending on if this gets merged first or mine (may be a slight merge conflict), but i think you can link the tests like:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh, it's better for the commands to be discrete and explicit, imo. I'm not sure if the behavior is the same running the tests one at a time (separate
pipenv run...
) vs running all the tests at one time (a singlepipenv run...
). But if there are advantages (other than brevity) I'm open to running all the tests at one time.