Adjusted API Timeout to 5 Minutes

This commit is contained in:
brotoskyj
2025-11-11 12:19:09 -05:00
parent 392060e9fa
commit e13382626b
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ dependencies = [
[[package]] [[package]]
name = "airlock_libs" name = "airlock_libs"
version = "2.0.1" version = "2.0.2"
dependencies = [ dependencies = [
"chrono", "chrono",
"indicatif", "indicatif",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "airlock_libs" name = "airlock_libs"
version = "2.0.1" version = "2.0.2"
edition = "2024" edition = "2024"
[lib] [lib]
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "maturin"
[project] [project]
name = "airlock_libs" name = "airlock_libs"
version = "2.0.1" version = "2.0.2"
description = "Airlock Digital API Wrapper" description = "Airlock Digital API Wrapper"
readme = "README.md" readme = "README.md"
license = { text = "AGPL-3.0-only" } license = { text = "AGPL-3.0-only" }
+1 -1
View File
@@ -205,7 +205,7 @@ fn build_client(py: Python<'_>, py_self: &Py<PyAny>) -> Client {
Client::builder() Client::builder()
.danger_accept_invalid_certs(true) .danger_accept_invalid_certs(true)
.default_headers(header_map) .default_headers(header_map)
.timeout(std::time::Duration::from_secs(120)) .timeout(std::time::Duration::from_secs(300))
.build() .build()
.unwrap() .unwrap()
} }