Skip to content

Commit

Permalink
fix: lambda의 timeout 에러로 각각 15, 20sec로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ppinkypeach committed Feb 6, 2024
1 parent f8b4bef commit 22b97bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ provider:
functions:
slackBotHandler:
handler: dist/utils/function/lambdaHandler/handler.handler
timeout: 15
events:
- httpApi:
method: POST
Expand All @@ -32,6 +33,7 @@ functions:
path: /slack/uploadNotion
SendBlogInfoToSlackSchedule:
handler: dist/scheduler/sendBlogInfoToSlackChannel.handler
timeout: 20
events:
- schedule:
rate: cron(0 0 ? * 2 *)
Expand Down

0 comments on commit 22b97bb

Please sign in to comment.