Skip to content

Commit

Permalink
chore: update scanner lambda config
Browse files Browse the repository at this point in the history
  • Loading branch information
tshuli committed Oct 26, 2023
1 parent 3510217 commit b1596da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions serverless/virus-scanner/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ functions:
image:
name: virus-scanner
# max timeout per invocation
timeout: 300
# cloudflare timesout after 60 seconds, so virus scanning cannot take too long
timeout: 50
# allocate more memory as the default 1028 MB size will cause lambda to crash
memorySize: 2048
memorySize: 4096
# Provision concurrency so at least one instance always hot
# https://www.serverless.com/framework/docs/providers/aws/guide/serverless.yml/#provisioned-concurrency
# 1 for staging, 5 for prod
Expand Down

0 comments on commit b1596da

Please sign in to comment.