diff options
author | Justin Clark-Casey (justincc) | 2013-06-18 23:07:18 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-06-18 23:07:18 +0100 |
commit | 9501a583cbc8fd819d2b13db4f9ad76958520ce7 (patch) | |
tree | 925a26099456963b6e87e0d35b6cc57f8a621bd9 /OpenSim/Server | |
parent | Fix issue where stat samples were accidentally static, so that any additional... (diff) | |
download | opensim-SC_OLD-9501a583cbc8fd819d2b13db4f9ad76958520ce7.zip opensim-SC_OLD-9501a583cbc8fd819d2b13db4f9ad76958520ce7.tar.gz opensim-SC_OLD-9501a583cbc8fd819d2b13db4f9ad76958520ce7.tar.bz2 opensim-SC_OLD-9501a583cbc8fd819d2b13db4f9ad76958520ce7.tar.xz |
Make number of inbound http requests handled available as a httpserver.<port>.IncomingHTTPRequestsProcessed stat
Diffstat (limited to 'OpenSim/Server')
-rw-r--r-- | OpenSim/Server/Base/ServicesServerBase.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index 8243900..667cef8 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs | |||
@@ -34,6 +34,7 @@ using System.Text; | |||
34 | using System.Xml; | 34 | using System.Xml; |
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
37 | using OpenSim.Framework.Monitoring; | ||
37 | using OpenSim.Framework.Servers; | 38 | using OpenSim.Framework.Servers; |
38 | using log4net; | 39 | using log4net; |
39 | using log4net.Config; | 40 | using log4net.Config; |
@@ -205,6 +206,9 @@ namespace OpenSim.Server.Base | |||
205 | 206 | ||
206 | public virtual int Run() | 207 | public virtual int Run() |
207 | { | 208 | { |
209 | Watchdog.Enabled = true; | ||
210 | MemoryWatchdog.Enabled = true; | ||
211 | |||
208 | while (m_Running) | 212 | while (m_Running) |
209 | { | 213 | { |
210 | try | 214 | try |