Procházet zdrojové kódy

Increase jackett timeout to 120 seconds

CauseFX před 6 roky
rodič
revize
be1af91605
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      api/homepage/jackett.php

+ 1 - 1
api/homepage/jackett.php

@@ -100,7 +100,7 @@ trait JackettHomepageItem
 		$endpoint = $apiURL . '/api/v2.0/indexers/all/results?apikey=' . $this->config['jackettToken'] . '&Query=' . urlencode($query);
 		try {
 			$headers = array();
-			$options = array('timeout' => 60);
+			$options = array('timeout' => 120);
 			$response = Requests::get($endpoint, $headers, $options);
 			if ($response->success) {
 				$apiData = json_decode($response->body, true);