From 8af7449387c2eacbab5fcfe53edfef3f5a9e3fb1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 14 Feb 2007 00:18:06 +0000 Subject: Timeout after 250 seconds during xmlrpc sync --- packages/tinydns/tinydns.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc index 3fd5279c..05a76290 100644 --- a/packages/tinydns/tinydns.inc +++ b/packages/tinydns/tinydns.inc @@ -370,7 +370,7 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) { if(!$sync_to_ip) return; - log_error("[tinydns] tinydns_xmlrpc_sync.php is starting to {$sync_to_ip}."); + $xmlrpc_sync_neighbor = $sync_to_ip; if($config['system']['webgui']['protocol'] != "") { $synchronizetoip = $config['system']['webgui']['protocol']; @@ -405,14 +405,14 @@ function tinydns_do_xmlrpc_sync($sync_to_ip, $password) { $method = 'pfsense.merge_config_section'; /* Sync! */ - log_error("Beginning tinydns XMLRPC sync to {$url}:{$port}."); + log_error("Beginning TinyDNS XMLRPC sync to {$url}:{$port}."); $msg = new XML_RPC_Message($method, $params); $cli = new XML_RPC_Client('/xmlrpc.php', $url, $port); $cli->setCredentials('admin', $password); if($g['debug']) $cli->setDebug(1); - /* send our XMLRPC message and timeout after 240 seconds */ - $resp = $cli->send($msg, "999"); + /* send our XMLRPC message and timeout after 250 seconds */ + $resp = $cli->send($msg, "250"); if(!$resp) { $error = "A communications error occured while attempting tinydns XMLRPC sync with {$url}:{$port}."; log_error($error); -- cgit v1.2.3