From d53f5edbfceccb41d796123f63cdf673da2f0e53 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 27 Sep 2020 21:59:10 +0100 Subject: chore(paroxysm): Reduce quote upload timeout to 2 hours I think 24 hours is more generous than we'd like these to be. Change-Id: Ie56822f98942ab74048d908ab821a404dc841e4a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2003 Reviewed-by: tazjin Reviewed-by: eta Tested-by: BuildkiteCI --- fun/paroxysm/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fun/paroxysm/src') diff --git a/fun/paroxysm/src/main.rs b/fun/paroxysm/src/main.rs index 0fed3133f8f8..63863340eb68 100644 --- a/fun/paroxysm/src/main.rs +++ b/fun/paroxysm/src/main.rs @@ -241,7 +241,7 @@ impl App { // TODO(eta): make configurable let response = crimp::Request::put("https://theta.eu.org/lx/upload") .user_agent("paroxysm/0.0.2 crimp/0.2")? - .header("Linx-Expiry", "86400")? // 24 hours + .header("Linx-Expiry", "7200")? // 2 hours .body("text/plain", data_to_upload.as_bytes()) .timeout(std::time::Duration::from_secs(2))? .send()? -- cgit 1.4.1