about summary refs log tree commit diff
path: root/fun
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-09-27T20·59+0100
committertazjin <mail@tazj.in>2020-09-27T21·02+0000
commitd53f5edbfceccb41d796123f63cdf673da2f0e53 (patch)
tree9cfd9d9d033a6e85f550fd6bbbfc7eaf403ac566 /fun
parent48235517f67bd9aa92f2824e991fef62d00b41fa (diff)
chore(paroxysm): Reduce quote upload timeout to 2 hours r/1818
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 <mail@tazj.in>
Reviewed-by: eta <eta@theta.eu.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'fun')
-rw-r--r--fun/paroxysm/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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()?