From 79b8b87539e3f6b7fc6da77bf6da01b2d9b02960 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 12 Sep 2018 07:50:06 +0200 Subject: [PATCH] dns/dyndns: drastically lower the timeout Suggested somewhere by a user. Getting the request through should not take longer than a few seconds. --- dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc index 5f4893be7..7e02622b3 100644 --- a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc +++ b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc @@ -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) {