- increased _ESI_ api request timeouts

This commit is contained in:
Mark Friedrich
2019-02-24 22:41:46 +01:00
parent 30df700165
commit edef4eb599
2 changed files with 5 additions and 4 deletions

View File

@@ -621,7 +621,7 @@ class Controller {
}
if(empty($return->error)){
$f3->set($cacheKey, $return, 15);
$f3->set($cacheKey, $return, 60);
}
}
}

View File

@@ -302,7 +302,8 @@ abstract class AbstractClient extends \Prefab {
){
// web client not initialized
$client = $this->getClient($f3);
$client->setTimeout(3);
$client->setTimeout(5);
$client->setConnectTimeout(5);
$client->setUserAgent($this->getUserAgent());
$client->setDecodeContent('gzip, deflate');
@@ -321,10 +322,10 @@ abstract class AbstractClient extends \Prefab {
$client->setCachePool($this->getCachePool($f3));
// use local proxy server for debugging requests
#$client->setProxy('127.0.0.1:8888');
//$client->setProxy('127.0.0.1:8888');
// disable SSL certificate verification -> allow proxy to decode(view) request
#$client->setVerify(false);
$client->setVerify(false);
//$client->setDebugRequests(true);