aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Servers/ServerBase.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/ServerBase.cs b/OpenSim/Framework/Servers/ServerBase.cs
index 824c7e2..1bee6a3 100644
--- a/OpenSim/Framework/Servers/ServerBase.cs
+++ b/OpenSim/Framework/Servers/ServerBase.cs
@@ -263,6 +263,12 @@ namespace OpenSim.Framework.Servers
263 HandleDebugCommsSet); 263 HandleDebugCommsSet);
264 264
265 m_console.Commands.AddCommand ( 265 m_console.Commands.AddCommand (
266 "Debug", false, "debug comms status",
267 "debug comms status",
268 "Show current debug comms parameters.",
269 HandleDebugCommsStatus);
270
271 m_console.Commands.AddCommand (
266 "Debug", false, "debug threadpool set", 272 "Debug", false, "debug threadpool set",
267 "debug threadpool set worker|iocp min|max <n>", 273 "debug threadpool set worker|iocp min|max <n>",
268 "Set threadpool parameters. For debug purposes.", 274 "Set threadpool parameters. For debug purposes.",
@@ -302,6 +308,11 @@ namespace OpenSim.Framework.Servers
302 m_serverStatsCollector.Start(); 308 m_serverStatsCollector.Start();
303 } 309 }
304 310
311 private void HandleDebugCommsStatus(string module, string[] args)
312 {
313 Notice("serialosdreq is {0}", WebUtil.SerializeOSDRequestsPerEndpoint);
314 }
315
305 private void HandleDebugCommsSet(string module, string[] args) 316 private void HandleDebugCommsSet(string module, string[] args)
306 { 317 {
307 if (args.Length != 5) 318 if (args.Length != 5)