diff options
author | networkjanitor <networkjanitor@xafy.de> | 2024-08-30 23:17:21 +0200 |
---|---|---|
committer | networkjanitor <networkjanitor@xafy.de> | 2024-08-30 23:17:21 +0200 |
commit | 236e92b7807c301718dd95a4d355f4ecf4b1a691 (patch) | |
tree | 867f9ffdf18e9530e92e3d864a913b78b0c6842e | |
parent | 3f0eb33c666afb2924eef835904fe48ef4503d2d (diff) | |
download | ezau-236e92b7807c301718dd95a4d355f4ecf4b1a691.tar.gz ezau-236e92b7807c301718dd95a4d355f4ecf4b1a691.tar.bz2 ezau-236e92b7807c301718dd95a4d355f4ecf4b1a691.zip |
fix: increase upload timeout to match dps.report internal timeout
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 6352bff..3e84e2d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -250,6 +250,8 @@ fn upload_log(file: &Path, url: &str) -> Result<String> { .post(url) .query(&[("json", 1)]) .multipart(form) + // dps.report internal processing timeout is 15 mins + .timeout(Duration::from_secs(60 * 15)) .send()? .error_for_status()? .json()?; |