Commit 9026e30a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

raised timeouts

parent ff07ac4f
......@@ -188,11 +188,11 @@ class RequestFetcher extends Command
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_USERAGENT => $job["useragent"],
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_CONNECTTIMEOUT => 2,
CURLOPT_CONNECTTIMEOUT => 8,
CURLOPT_MAXCONNECTS => 500,
CURLOPT_LOW_SPEED_LIMIT => 50000,
CURLOPT_LOW_SPEED_TIME => 5,
CURLOPT_TIMEOUT => 7,
CURLOPT_LOW_SPEED_TIME => 10,
CURLOPT_TIMEOUT => 10,
));
if (!empty($job["curlopts"])) {
......@@ -201,7 +201,7 @@ class RequestFetcher extends Command
if (!empty($this->proxyhost) && !empty($this->proxyport)) {
curl_setopt($ch, CURLOPT_PROXY, $this->proxyhost);
if(!empty($this->proxyuser) && !empty($this->proxypassword)){
if (!empty($this->proxyuser) && !empty($this->proxypassword)) {
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $this->proxyuser . ":" . $this->proxypassword);
}
curl_setopt($ch, CURLOPT_PROXYPORT, $this->proxyport);
......@@ -228,6 +228,6 @@ class RequestFetcher extends Command
public function sig_handler($sig)
{
$this->shouldRun = false;
echo("Terminating Process\n");
echo ("Terminating Process\n");
}
}
......@@ -47,7 +47,6 @@ class BingBilder extends Searchengine
);
}
} catch (\Exception $e) {
throw $e;
Log::error("A problem occurred parsing results from $this->name:");
Log::error($e->getMessage());
return;
......
......@@ -218,6 +218,7 @@ a {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 8px;
margin-bottom: 16px;
>.image {
&.height-2 {
......@@ -483,6 +484,7 @@ a {
.search-input-submit {
border-radius: 5px;
margin-right: 20px;
}
>* {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment