Skip to content

Commit

Permalink
fix(configuration): AWS ThroughPutBelowMinimum errors and timouts
Browse files Browse the repository at this point in the history
  • Loading branch information
khorolets committed Jul 4, 2024
1 parent f02339c commit ac9b38e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions configuration/src/configs/lake.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use aws_sdk_s3::config::StalledStreamProtectionConfig;
use near_lake_framework::near_indexer_primitives::near_primitives;
use serde_derive::Deserialize;

Expand All @@ -21,6 +22,7 @@ impl LakeConfig {
"",
);
aws_sdk_s3::Config::builder()
.stalled_stream_protection(StalledStreamProtectionConfig::disabled())
.credentials_provider(credentials)
.region(aws_types::region::Region::new(
self.aws_default_region.clone(),
Expand Down
2 changes: 2 additions & 0 deletions configuration/src/configs/tx_details_storage.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use aws_sdk_s3::config::StalledStreamProtectionConfig;
use serde_derive::Deserialize;

use crate::configs::{deserialize_optional_data_or_env, required_value_or_panic};
Expand All @@ -23,6 +24,7 @@ impl TxDetailsStorageConfig {
"",
);
aws_sdk_s3::Config::builder()
.stalled_stream_protection(StalledStreamProtectionConfig::disabled())
.credentials_provider(credentials)
.endpoint_url(
self.aws_endpoint
Expand Down

0 comments on commit ac9b38e

Please sign in to comment.