mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
fix merge
This commit is contained in:
@@ -71,9 +71,9 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
private int m_periodDiagnosticTimerMS = 60 * 60 * 1000;
|
||||
private Timer m_periodicDiagnosticsTimer = new Timer(60 * 60 * 1000);
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Random uuid for private data
|
||||
/// Random uuid for private data
|
||||
/// </summary>
|
||||
protected string m_osSecret = String.Empty;
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace OpenSim.Framework.Servers
|
||||
// Random uuid for private data
|
||||
m_osSecret = UUID.Random().ToString();
|
||||
}
|
||||
|
||||
|
||||
private static bool m_NoVerifyCertChain = false;
|
||||
private static bool m_NoVerifyCertHostname = false;
|
||||
|
||||
@@ -132,10 +132,10 @@ namespace OpenSim.Framework.Servers
|
||||
m_periodicDiagnosticsTimer.Interval = m_periodDiagnosticTimerMS;
|
||||
m_periodicDiagnosticsTimer.Enabled = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ShutdownSpecific()
|
||||
{
|
||||
{
|
||||
m_log.Info("[SHUTDOWN]: Shutdown processing on main thread complete. Exiting...");
|
||||
|
||||
RemovePIDFile();
|
||||
@@ -145,12 +145,12 @@ namespace OpenSim.Framework.Servers
|
||||
if (!SuppressExit)
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Provides a list of help topics that are available. Overriding classes should append their topics to the
|
||||
/// information returned when the base method is called.
|
||||
/// </summary>
|
||||
///
|
||||
///
|
||||
/// <returns>
|
||||
/// A list of strings that represent different help topics on which more information is available
|
||||
/// </returns>
|
||||
@@ -176,7 +176,7 @@ namespace OpenSim.Framework.Servers
|
||||
public virtual void Startup()
|
||||
{
|
||||
m_log.Info("[STARTUP]: Beginning startup processing");
|
||||
|
||||
|
||||
m_log.Info("[STARTUP]: version: " + m_version + Environment.NewLine);
|
||||
// clr version potentially is more confusing than helpful, since it doesn't tell us if we're running under Mono/MS .NET and
|
||||
// the clr version number doesn't match the project version number under Mono.
|
||||
@@ -184,7 +184,7 @@ namespace OpenSim.Framework.Servers
|
||||
m_log.InfoFormat(
|
||||
"[STARTUP]: Operating system version: {0}, .NET platform {1}, {2}-bit\n",
|
||||
Environment.OSVersion, Environment.OSVersion.Platform, Util.Is64BitProcess() ? "64" : "32");
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
StartupSpecific();
|
||||
@@ -195,18 +195,18 @@ namespace OpenSim.Framework.Servers
|
||||
(e.Message == null || e.Message == String.Empty) ? "Unknown reason":e.Message );
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
|
||||
TimeSpan timeTaken = DateTime.Now - m_startuptime;
|
||||
|
||||
|
||||
// MainConsole.Instance.OutputFormat(
|
||||
// "PLEASE WAIT FOR LOGINS TO BE ENABLED ON REGIONS ONCE SCRIPTS HAVE STARTED. Non-script portion of startup took {0}m {1}s.",
|
||||
// timeTaken.Minutes, timeTaken.Seconds);
|
||||
}
|
||||
|
||||
public string osSecret
|
||||
public string osSecret
|
||||
{
|
||||
// Secret uuid for the simulator
|
||||
get { return m_osSecret; }
|
||||
get { return m_osSecret; }
|
||||
}
|
||||
|
||||
public string StatReport(IOSHttpRequest httpRequest)
|
||||
@@ -215,8 +215,8 @@ namespace OpenSim.Framework.Servers
|
||||
if (httpRequest.Query.ContainsKey("callback"))
|
||||
{
|
||||
return httpRequest.Query["callback"].ToString() + "(" + StatsManager.SimExtraStats.XReport((DateTime.Now - m_startuptime).ToString() , m_version) + ");";
|
||||
}
|
||||
else
|
||||
}
|
||||
else
|
||||
{
|
||||
return StatsManager.SimExtraStats.XReport((DateTime.Now - m_startuptime).ToString() , m_version);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user