mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user