diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-11-30 21:18:40 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-11-30 21:18:40 -0500 |
commit | d99eed13988c078c431b5859044bc6c2a949f7aa (patch) | |
tree | f8c98a2473c95550e6181d6ae5a02c105f14685e | |
parent | 4f73a02b06b5e4e1d9014c77205c71ee14fe6f71 (diff) | |
download | pfsense-packages-d99eed13988c078c431b5859044bc6c2a949f7aa.tar.gz pfsense-packages-d99eed13988c078c431b5859044bc6c2a949f7aa.tar.bz2 pfsense-packages-d99eed13988c078c431b5859044bc6c2a949f7aa.zip |
Initial connect timeout should really answer before 10 seconds. 60 seconds overall timeout
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.inc b/config/autoconfigbackup/autoconfigbackup.inc index 371ff3b7..b11f862e 100644 --- a/config/autoconfigbackup/autoconfigbackup.inc +++ b/config/autoconfigbackup/autoconfigbackup.inc @@ -195,7 +195,7 @@ function upload_config($reasonm = "") { curl_setopt($curl_session, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_session, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curl_session, CURLOPT_CONNECTTIMEOUT, 35); - curl_setopt($curl_session, CURLOPT_TIMEOUT, 60); + curl_setopt($curl_session, CURLOPT_TIMEOUT, 10); $data = curl_exec($curl_session); if (curl_errno($curl_session)) { |