Author: Lars Michelsen <[email protected]>
Date: Tue Aug 27 13:15:56 2013 +0200
Committer: Lars Michelsen <[email protected]>
Commit-Date: Tue Aug 27 13:15:56 2013 +0200
Changed default http timeout from 10 to 2 seconds
---
docs/en_US/nagvis_config_format_description.html | 2 +-
etc/nagvis.ini.php-sample | 2 +-
share/server/core/classes/GlobalMainCfg.php | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/en_US/nagvis_config_format_description.html
b/docs/en_US/nagvis_config_format_description.html
index bdaf196..a941803 100644
--- a/docs/en_US/nagvis_config_format_description.html
+++ b/docs/en_US/nagvis_config_format_description.html
@@ -116,7 +116,7 @@
<tr>
<td>http_timeout <font color="#ff0000">(new in 1.6)</font></td>
- <td>10</td>
+ <td>2</td>
<td>The timeout in seconds for external HTTP requests.</td>
</tr>
diff --git a/etc/nagvis.ini.php-sample b/etc/nagvis.ini.php-sample
index cff35ff..0f425a6 100644
--- a/etc/nagvis.ini.php-sample
+++ b/etc/nagvis.ini.php-sample
@@ -87,7 +87,7 @@
; "<username>:<password>" to provide auth credentials
;http_proxy_auth=""
; Set the timeout (in seconds) for outbound HTTP requests (for example geomap
requests)
-;http_timeout=10
+;http_timeout=2
;
; Defines which translations of NagVis are available to the users
;language_available="de_DE,en_US,es_ES,fr_FR,pt_BR"
diff --git a/share/server/core/classes/GlobalMainCfg.php
b/share/server/core/classes/GlobalMainCfg.php
index baa61ca..3351c93 100644
--- a/share/server/core/classes/GlobalMainCfg.php
+++ b/share/server/core/classes/GlobalMainCfg.php
@@ -156,7 +156,7 @@ class GlobalMainCfg {
),
'http_timeout' => array(
'must' => 1,
- 'default' => 10,
+ 'default' => 2,
'match' => MATCH_INTEGER,
),
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins