dns/dyndns: drastically lower the timeout

Suggested somewhere by a user.  Getting the request through should
not take longer than a few seconds.
This commit is contained in:
Franco Fichtner
2018-09-12 07:51:30 +02:00
parent 356be592cb
commit 79b8b87539
@@ -354,7 +354,7 @@ class updatedns
curl_setopt($ch, CURLOPT_USERAGENT, $this->_UserAgent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_INTERFACE, $this->_dnsRequestIfIP);
curl_setopt($ch, CURLOPT_TIMEOUT, 120); // Completely empirical
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
}
switch ($this->_dnsService) {