Skip to content

Commit f03453a

Browse files
authored
Merge pull request #57 from betagouv/increase_upload_timeout
Increase upload timeout
2 parents d035ba3 + 4f16583 commit f03453a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/proxy.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ use sodiumoxide::crypto::secretstream::xchacha20poly1305::{ABYTES, HEADERBYTES};
1717
use std::time::Duration;
1818

1919
const CONNECT_TIMEOUT: Duration = Duration::from_secs(1);
20-
const RESPONSE_TIMEOUT: Duration = Duration::from_secs(5);
21-
const UPLOAD_TIMEOUT: Duration = Duration::from_secs(3 * 60);
20+
const RESPONSE_TIMEOUT: Duration = Duration::from_secs(30);
21+
const UPLOAD_TIMEOUT: Duration = Duration::from_secs(60 * 60);
2222

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

0 commit comments

Comments
 (0)