Skip to content

Commit

Permalink
Merge pull request #77 from ASFHyP3/fix-timouts
Browse files Browse the repository at this point in the history
extend lambda timeout
  • Loading branch information
jhkennedy authored May 8, 2024
2 parents e5f7f59 + 46fc6f2 commit 81d575a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- To manage any lag between Sentinel-2 messages being published in AWS and scenes being available in Google Cloud, which is where hyp3-autorift pulls scenes from, the message failure handling has been changed:
- The visibility timeout (time between attempts) has been extended from 5 minutes to 8 hours
- Processing messages will be attempted 3 times before being driven to the dead letter queue
- The `its_live_monitoring` lambda timeout has been increased to 900 seconds, from 300 seconds, because pair picking for Sentinel-2 takes significantly longer due to the Copernicus Dataspace STAC catalog not supporting metadata queries

## [0.4.0]

Expand Down
2 changes: 1 addition & 1 deletion cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Resources:
MemorySize: 128
Role: !GetAtt LambdaRole.Arn
Runtime: python3.12
Timeout: 300
Timeout: 900
Environment:
Variables:
HYP3_API: !Ref Hyp3Api
Expand Down

0 comments on commit 81d575a

Please sign in to comment.