mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
New values returned by llGetEnv
Implements recent changes to llGetEnv region_cpu_ratio hardcoded to 1 region_product_sku hardcoded to OpenSim Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
This commit is contained in:
@@ -454,6 +454,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
private string m_defaultScriptEngine;
|
||||
|
||||
private int m_unixStartTime;
|
||||
public int UnixStartTime
|
||||
{
|
||||
get { return m_unixStartTime; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Tick at which the last login occurred.
|
||||
/// </summary>
|
||||
@@ -1438,7 +1444,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
m_isRunning = true;
|
||||
m_active = true;
|
||||
|
||||
m_unixStartTime = Util.UnixTimeSinceEpoch();
|
||||
// m_log.DebugFormat("[SCENE]: Starting Heartbeat timer for {0}", RegionInfo.RegionName);
|
||||
if (m_heartbeatThread != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user