aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/ServerBase.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-05 23:49:33 +0100
committerJustin Clark-Casey (justincc)2013-08-05 23:49:33 +0100
commit4581bdd929d84abe2dbdc46c819d015e391a5b6d (patch)
treef62e990beb2b305109039f913aa2a72e245f9f2d /OpenSim/Framework/Servers/ServerBase.cs
parentMake it possible to switch whether we serialize osd requests per endpoint or ... (diff)
downloadopensim-SC_OLD-4581bdd929d84abe2dbdc46c819d015e391a5b6d.zip
opensim-SC_OLD-4581bdd929d84abe2dbdc46c819d015e391a5b6d.tar.gz
opensim-SC_OLD-4581bdd929d84abe2dbdc46c819d015e391a5b6d.tar.bz2
opensim-SC_OLD-4581bdd929d84abe2dbdc46c819d015e391a5b6d.tar.xz
Add "debug comms status" command to show current debug comms settings
Diffstat (limited to 'OpenSim/Framework/Servers/ServerBase.cs')
-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)