Explorar o código

update deluge timeout

causefx %!s(int64=8) %!d(string=hai) anos
pai
achega
0e214bfb3d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/functions/deluge.class.php

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

@@ -16,7 +16,7 @@ class deluge {
 			CURLOPT_ENCODING => "",
 			CURLOPT_COOKIEJAR  => "",
 			CURLOPT_CONNECTTIMEOUT => 10,
-			CURLOPT_TIMEOUT => 5,
+			CURLOPT_TIMEOUT => 10,
 			CURLOPT_CAINFO => getCert(),
 	        CURLOPT_SSL_VERIFYHOST => localURL($host) ? 0 : 2,
 	        CURLOPT_SSL_VERIFYPEER => localURL($host) ? 0 : 2,