diff options
author | Oren Hurvitz | 2015-07-24 13:05:57 +0300 |
---|---|---|
committer | Oren Hurvitz | 2015-08-11 07:35:40 +0100 |
commit | 20af31f18e7a56a3c094c7932bb9f54ce13e49df (patch) | |
tree | d60729b96d466c459262dd5be8f2f46928ea637f /OpenSim/Region/ScriptEngine/Shared/Instance | |
parent | Log scripts that have processed many events: this is probably an indication o... (diff) | |
download | opensim-SC-20af31f18e7a56a3c094c7932bb9f54ce13e49df.zip opensim-SC-20af31f18e7a56a3c094c7932bb9f54ce13e49df.tar.gz opensim-SC-20af31f18e7a56a3c094c7932bb9f54ce13e49df.tar.bz2 opensim-SC-20af31f18e7a56a3c094c7932bb9f54ce13e49df.tar.xz |
Fixed mistakes related to confusion between Environment.TickCount (milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 0055322..bae66e8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -202,7 +202,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
202 | 202 | ||
203 | public long MeasurementPeriodExecutionTime { get; private set; } | 203 | public long MeasurementPeriodExecutionTime { get; private set; } |
204 | 204 | ||
205 | public static readonly long MaxMeasurementPeriod = 30 * TimeSpan.TicksPerMinute; | 205 | public static readonly long MaxMeasurementPeriod = 30 * (TimeSpan.TicksPerMinute / TimeSpan.TicksPerMillisecond); |
206 | 206 | ||
207 | private bool m_coopTermination; | 207 | private bool m_coopTermination; |
208 | 208 | ||