aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2024-08-30 21:22:02 +0000
committerDaniel <kingdread@gmx.de>2024-08-30 21:22:02 +0000
commit4bcc457558f638642a08c77ddb6d5f85423e2b70 (patch)
tree9e541b48f8b623d9c31613b80f2ab22e549549cb /src
parent66719483b12d39f55dfac48121d0b8aafd544631 (diff)
parent236e92b7807c301718dd95a4d355f4ecf4b1a691 (diff)
downloadezau-4bcc457558f638642a08c77ddb6d5f85423e2b70.tar.gz
ezau-4bcc457558f638642a08c77ddb6d5f85423e2b70.tar.bz2
ezau-4bcc457558f638642a08c77ddb6d5f85423e2b70.zip
Merge branch 'adjust-upload-timeout' into 'master'
fix: increase upload timeout to match dps.report internal timeout See merge request dunj3/ezau!4
Diffstat (limited to 'src')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 5a5377a..482ec53 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -205,6 +205,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()?;