diff options
author | Adam Frisby | 2009-12-13 03:49:22 +1100 |
---|---|---|
committer | Adam Frisby | 2009-12-13 03:49:22 +1100 |
commit | 87e89efbf9727b294658f149c6494fd49608bc12 (patch) | |
tree | f2a60658aa638f56c31ad594eb2499ef267e22b6 /OpenSim/Region/ScriptEngine | |
parent | * Implements OSSL function: osGetSimulatorMemory - returns the current amount... (diff) | |
download | opensim-SC_OLD-87e89efbf9727b294658f149c6494fd49608bc12.zip opensim-SC_OLD-87e89efbf9727b294658f149c6494fd49608bc12.tar.gz opensim-SC_OLD-87e89efbf9727b294658f149c6494fd49608bc12.tar.bz2 opensim-SC_OLD-87e89efbf9727b294658f149c6494fd49608bc12.tar.xz |
* Mistaken ThreatLevel classification on osGetSimulatorMemory - should have been MODERATE.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index e9e54ae..1b7db7c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1972,7 +1972,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1972 | 1972 | ||
1973 | public int osGetSimulatorMemory() | 1973 | public int osGetSimulatorMemory() |
1974 | { | 1974 | { |
1975 | CheckThreatLevel(ThreatLevel.Moderate, "osGetRegionStats"); | 1975 | CheckThreatLevel(ThreatLevel.Moderate, "osGetSimulatorMemory"); |
1976 | m_host.AddScriptLPS(1); | 1976 | m_host.AddScriptLPS(1); |
1977 | long pws = System.Diagnostics.Process.GetCurrentProcess().WorkingSet64; | 1977 | long pws = System.Diagnostics.Process.GetCurrentProcess().WorkingSet64; |
1978 | 1978 | ||