diff options
Diffstat (limited to 'OpenSim/Framework/Servers')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs index 456acb0..f1e78ac 100644 --- a/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs +++ b/OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | |||
@@ -77,6 +77,19 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
77 | PerformResponsesAsync = performResponsesAsync; | 77 | PerformResponsesAsync = performResponsesAsync; |
78 | m_WorkerThreadCount = pWorkerThreadCount; | 78 | m_WorkerThreadCount = pWorkerThreadCount; |
79 | m_workerThreads = new Thread[m_WorkerThreadCount]; | 79 | m_workerThreads = new Thread[m_WorkerThreadCount]; |
80 | |||
81 | StatsManager.RegisterStat( | ||
82 | new Stat( | ||
83 | "QueuedPollResponses", | ||
84 | "Number of non long-poll responses queued for sending.", | ||
85 | "", | ||
86 | "", | ||
87 | "httpserver", | ||
88 | m_server.Port.ToString(), | ||
89 | StatType.Pull, | ||
90 | MeasuresOfInterest.AverageChangeOverTime, | ||
91 | stat => m_requests.Count(), | ||
92 | StatVerbosity.Debug)); | ||
80 | } | 93 | } |
81 | 94 | ||
82 | public void Start() | 95 | public void Start() |