Sfoglia il codice sorgente

update deluge timeout

causefx 8 anni fa
parent
commit
0e214bfb3d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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,