mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
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
This commit is contained in:
@@ -179,7 +179,7 @@ namespace OpenSim.Framework.Monitoring
|
||||
s.Value = iocpThreads;
|
||||
});
|
||||
|
||||
if (Util.FireAndForgetMethod != null && Util.GetSmartThreadPoolInfo() != null)
|
||||
if (Util.FireAndForgetMethod == FireAndForgetMethod.SmartThreadPool && Util.GetSmartThreadPoolInfo() != null)
|
||||
{
|
||||
MakeStat("STPMaxThreads", null, "threads", ContainerThreadpool, s => s.Value = Util.GetSmartThreadPoolInfo().MaxThreads);
|
||||
MakeStat("STPMinThreads", null, "threads", ContainerThreadpool, s => s.Value = Util.GetSmartThreadPoolInfo().MinThreads);
|
||||
|
||||
Reference in New Issue
Block a user