mirror of
https://github.com/opensim/opensim.git
synced 2026-07-02 00:15:45 +08:00
use concurrentdic on pollhandlers, simplify a bit
This commit is contained in:
@@ -62,24 +62,6 @@ namespace OpenSim.Framework.Servers.HttpServer
|
||||
Description = description;
|
||||
m_httpMethod = httpMethod;
|
||||
m_path = path;
|
||||
|
||||
// FIXME: A very temporary measure to stop the simulator stats being overwhelmed with user CAPS info.
|
||||
// Needs to be fixed properly in stats display
|
||||
if (!path.StartsWith("/CAPS/"))
|
||||
{
|
||||
StatsManager.RegisterStat(
|
||||
new Stat(
|
||||
"requests",
|
||||
"requests",
|
||||
"Number of requests received by this service endpoint",
|
||||
"requests",
|
||||
"service",
|
||||
string.Format("{0}:{1}", httpMethod, path),
|
||||
StatType.Pull,
|
||||
MeasuresOfInterest.AverageChangeOverTime,
|
||||
s => s.Value = RequestsReceived,
|
||||
StatVerbosity.Debug));
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string Path
|
||||
|
||||
Reference in New Issue
Block a user