Skip to content

Commit

Permalink
fix client connections
Browse files Browse the repository at this point in the history
  • Loading branch information
kobayurii committed Jan 8, 2025
1 parent e9b68cf commit 7e5becb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion configuration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ license.workspace = true

[dependencies]
anyhow = "1.0.70"
aws-sdk-s3 = "1.68.0"
aws-sdk-s3 = { version = "1.68.0", features = ["behavior-version-latest"] }
dotenv = "0.15.0"
lazy_static = "1.4.0"
regex = "1.10.2"
Expand Down
2 changes: 1 addition & 1 deletion configuration/src/configs/tx_details_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl TxDetailsStorageConfig {
self.secret_key.clone(),
None,
None,
"tx-storage-provider", // It is
"Static",
);

// Build AWS SDK config
Expand Down
2 changes: 1 addition & 1 deletion database/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ hex = "0.4.3"
lazy_static = "1.4.0"
prometheus = "0.13.4"
serde_json = "1.0.117"
sqlx = { version = "0.8.2", features = [
sqlx = { version = "0.8.3", features = [
"runtime-tokio-native-tls",
"postgres",
"migrate",
Expand Down
2 changes: 1 addition & 1 deletion rpc-server/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ async fn task_optimistic_block_status() {
.get();
loop {
// check every second
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
tokio::time::sleep(std::time::Duration::from_secs(2)).await;

// get the current final block height
let current_final = crate::metrics::LATEST_BLOCK_HEIGHT_BY_FINALITIY
Expand Down
2 changes: 1 addition & 1 deletion tx-details-storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ license.workspace = true

[dependencies]
anyhow = "1.0.70"
aws-sdk-s3 = "1.68.0"
aws-sdk-s3 = { version = "1.68.0", features = ["behavior-version-latest"] }

0 comments on commit 7e5becb

Please sign in to comment.