Skip to content

Commit

Permalink
Set memory for Lambda smoke test hook to 128 MiB (#457)
Browse files Browse the repository at this point in the history
This was defaulting to 1024 MiB, which is overkill.
  • Loading branch information
72636c authored Jun 21, 2021
1 parent 4c34e89 commit b113d33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-ads-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'skuba': patch
---

**template/lambda-sqs-worker:** Set `memorySize` for smoke test hook to 128 MiB
1 change: 1 addition & 0 deletions template/lambda-sqs-worker/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ functions:
WorkerPreHook:
name: ${self:functions.Worker.name}-pre-hook
handler: lib/hooks.pre
memorySize: 128
# This is generous because a timeout will hang the deployment
timeout: 300
environment:
Expand Down

0 comments on commit b113d33

Please sign in to comment.