File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,8 +63,8 @@ pub const STORAGE_UPLOAD_INTERVAL: u32 = 60;
6363// A single HTTP client for all outgoing HTTP requests from the parseable server
6464static HTTP_CLIENT : Lazy < Client > = Lazy :: new ( || {
6565 ClientBuilder :: new ( )
66- . connect_timeout ( Duration :: from_secs ( 3 ) ) // set a timeout of 3s for each connection setup
67- . timeout ( Duration :: from_secs ( 10 ) ) // set a timeout of 10s for each request
66+ . connect_timeout ( Duration :: from_secs ( 5 ) ) // set a timeout of 3s for each connection setup
67+ . timeout ( Duration :: from_secs ( 15 ) ) // set a timeout of 10s for each request
6868 . pool_idle_timeout ( Duration :: from_secs ( 90 ) ) // set a timeout of 90s for each idle connection
6969 . pool_max_idle_per_host ( 32 ) // max 32 idle connections per host
7070 . gzip ( true ) // gzip compress for all requests
You can’t perform that action at this time.
0 commit comments