Skip to content

Commit

Permalink
truss-transfer: increase timeout to 6 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfeil committed Jan 20, 2025
1 parent 4d807f0 commit fe5f13a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions truss-transfer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
tokio = { version = "1.24", features = ["rt-multi-thread", "macros", "fs"] }

reqwest = { version = "0.12.12", default-features = false, optional = false, features = ["blocking", "stream", "http2", "default-tls"] }
openssl = { version = "0.10", features = ["vendored"], optional = false }
reqwest = { version = "0.12.12", default-features = false, features = ["blocking", "stream", "http2", "default-tls"] }
# static linking of openssl, as rustls-tls is failing to build on aaarch64
openssl = { version = "0.10", features = ["vendored"] }

[features]
cli = []
Expand Down
2 changes: 1 addition & 1 deletion truss-transfer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use tokio::sync::Semaphore;
// Constants
static LAZY_DATA_RESOLVER_PATH: &str = "/bptr/bptr-manifest";
static CACHE_DIR: &str = "/cache/org/artifacts";
static BLOB_DOWNLOAD_TIMEOUT_SECS: u64 = 7200;
static BLOB_DOWNLOAD_TIMEOUT_SECS: u64 = 21600; // 6 hours
static BASETEN_FS_ENABLED_ENV_VAR: &str = "BASETEN_FS_ENABLED";
static TRUSS_TRANSFER_NUM_WORKERS_DEFAULT: usize = 64;
static TRUSS_TRANSFER_DOWNLOAD_DIR_ENV_VAR: &str = "TRUSS_TRANSFER_DOWNLOAD_DIR";
Expand Down

0 comments on commit fe5f13a

Please sign in to comment.