Browse Source

change deluge timeout to 10

causefx 8 years ago
parent
commit
f892032858
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/functions/deluge.class.php

+ 1 - 1
api/functions/deluge.class.php

@@ -15,7 +15,7 @@ class deluge {
 			CURLOPT_HTTPHEADER => array("Accept: application/json", "Content-Type: application/json"),
 			CURLOPT_ENCODING => "",
 			CURLOPT_COOKIEJAR  => "",
-			CURLOPT_CONNECTTIMEOUT => 5,
+			CURLOPT_CONNECTTIMEOUT => 10,
 			CURLOPT_TIMEOUT => 5,
 			CURLOPT_CAINFO => getCert(),
 	        CURLOPT_SSL_VERIFYHOST => localURL($host) ? 0 : 2,