aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-06-20 00:20:04 +0100
committerJustin Clark-Casey (justincc)2013-06-20 00:22:44 +0100
commitd97333255d45da686bb71d85ef492c5631c4dc31 (patch)
tree82c3e6cf54039b81b362e34456de678d8db84db3 /OpenSim/Framework
parentminor: fix mono compiler warning in FetchInventory2Handler (diff)
downloadopensim-SC-d97333255d45da686bb71d85ef492c5631c4dc31.zip
opensim-SC-d97333255d45da686bb71d85ef492c5631c4dc31.tar.gz
opensim-SC-d97333255d45da686bb71d85ef492c5631c4dc31.tar.bz2
opensim-SC-d97333255d45da686bb71d85ef492c5631c4dc31.tar.xz
Fix minor bug where the check whether to display SmartThreadPool stats was accidentally != null rather than == FireAndForgetMethod.SmartThreadPool
Due to another check this had no practical effect
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Monitoring/ServerStatsCollector.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs
index 07ca14b..5d1c270 100644
--- a/OpenSim/Framework/Monitoring/ServerStatsCollector.cs
+++ b/OpenSim/Framework/Monitoring/ServerStatsCollector.cs
@@ -179,7 +179,7 @@ namespace OpenSim.Framework.Monitoring
179 s.Value = iocpThreads; 179 s.Value = iocpThreads;
180 }); 180 });
181 181
182 if (Util.FireAndForgetMethod != null && Util.GetSmartThreadPoolInfo() != null) 182 if (Util.FireAndForgetMethod == FireAndForgetMethod.SmartThreadPool && Util.GetSmartThreadPoolInfo() != null)
183 { 183 {
184 MakeStat("STPMaxThreads", null, "threads", ContainerThreadpool, s => s.Value = Util.GetSmartThreadPoolInfo().MaxThreads); 184 MakeStat("STPMaxThreads", null, "threads", ContainerThreadpool, s => s.Value = Util.GetSmartThreadPoolInfo().MaxThreads);
185 MakeStat("STPMinThreads", null, "threads", ContainerThreadpool, s => s.Value = Util.GetSmartThreadPoolInfo().MinThreads); 185 MakeStat("STPMinThreads", null, "threads", ContainerThreadpool, s => s.Value = Util.GetSmartThreadPoolInfo().MinThreads);