Skip to content

Commit

Permalink
increase function timeout, not just provider
Browse files Browse the repository at this point in the history
  • Loading branch information
armandobelardo authored May 22, 2024
1 parent 1634547 commit c0b432e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions servers/fern-bot/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ provider:
REPO_TO_RUN_ON: ${env:REPO_TO_RUN_ON, 'OMIT'}
functions:
updateOpenApiSpec:
# 900 second timeout, e.g. 15 minutes
timeout: 900
# 10GB memory
memorySize: 10240
# 10GB storage
ephemeralStorageSize: 10240
handler: "src/functions/oas-cron/updateOpenApiSpec.handler"
Expand Down

0 comments on commit c0b432e

Please sign in to comment.