Browse Source

feed discovery only takes 1 http request so adjust timeout

pull/49/head
Aaron Parecki 7 years ago
parent
commit
c2a8ee5a05
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      controllers/Feeds.php

+ 1
- 2
controllers/Feeds.php View File

@ -27,8 +27,7 @@ class Feeds {
$opts = []; $opts = [];
if($request->get('timeout')) { if($request->get('timeout')) {
// We might make 2 HTTP requests, so each request gets half the desired timeout
$opts['timeout'] = $request->get('timeout') / 2;
$opts['timeout'] = $request->get('timeout');
} }
if($request->get('max_redirects')) { if($request->get('max_redirects')) {

Loading…
Cancel
Save