Skip to content

Commit

Permalink
Merge pull request #57 from betagouv/increase_upload_timeout
Browse files Browse the repository at this point in the history
Increase upload timeout
  • Loading branch information
LeSim authored Dec 2, 2020
2 parents d035ba3 + 4f16583 commit f03453a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ use sodiumoxide::crypto::secretstream::xchacha20poly1305::{ABYTES, HEADERBYTES};
use std::time::Duration;

const CONNECT_TIMEOUT: Duration = Duration::from_secs(1);
const RESPONSE_TIMEOUT: Duration = Duration::from_secs(5);
const UPLOAD_TIMEOUT: Duration = Duration::from_secs(3 * 60);
const RESPONSE_TIMEOUT: Duration = Duration::from_secs(30);
const UPLOAD_TIMEOUT: Duration = Duration::from_secs(60 * 60);

static FORWARD_REQUEST_HEADERS_TO_REMOVE: [header::HeaderName; 4] = [
// Connection settings (keepalived) must not be resend
Expand Down

0 comments on commit f03453a

Please sign in to comment.