diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 5af8194..a2ba8c0 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -114,8 +114,8 @@ namespace OpenSim | |||
114 | if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) | 114 | if (!String.IsNullOrEmpty(asyncCallMethodStr) && Utils.EnumTryParse<FireAndForgetMethod>(asyncCallMethodStr, out asyncCallMethod)) |
115 | Util.FireAndForgetMethod = asyncCallMethod; | 115 | Util.FireAndForgetMethod = asyncCallMethod; |
116 | 116 | ||
117 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 15); | 117 | stpMinThreads = startupConfig.GetInt("MinPoolThreads", 2 ); |
118 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 300); | 118 | stpMaxThreads = startupConfig.GetInt("MaxPoolThreads", 25); |
119 | m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); | 119 | m_consolePrompt = startupConfig.GetString("ConsolePrompt", @"Region (\R) "); |
120 | } | 120 | } |
121 | 121 | ||
@@ -272,7 +272,7 @@ namespace OpenSim | |||
272 | + " [--force-terrain] [--force-parcels]" | 272 | + " [--force-terrain] [--force-parcels]" |
273 | + " [--no-objects]" | 273 | + " [--no-objects]" |
274 | + " [--rotation degrees] [--rotation-center \"<x,y,z>\"]" | 274 | + " [--rotation degrees] [--rotation-center \"<x,y,z>\"]" |
275 | + " [--displacement \"<x,y,z>\"]" | 275 | + " [--displacement \"<x,y,z>\"]" |
276 | + " [<OAR path>]", | 276 | + " [<OAR path>]", |
277 | "Load a region's data from an OAR archive.", | 277 | "Load a region's data from an OAR archive.", |
278 | "--merge will merge the OAR with the existing scene (suppresses terrain and parcel info loading).\n" | 278 | "--merge will merge the OAR with the existing scene (suppresses terrain and parcel info loading).\n" |
@@ -500,7 +500,7 @@ namespace OpenSim | |||
500 | if (alert != null) | 500 | if (alert != null) |
501 | presence.ControllingClient.Kick(alert); | 501 | presence.ControllingClient.Kick(alert); |
502 | else | 502 | else |
503 | presence.ControllingClient.Kick("\nThe OpenSim manager kicked you out.\n"); | 503 | presence.ControllingClient.Kick("\nYou have been logged out by an administrator.\n"); |
504 | 504 | ||
505 | presence.Scene.CloseAgent(presence.UUID, force); | 505 | presence.Scene.CloseAgent(presence.UUID, force); |
506 | break; | 506 | break; |
@@ -1028,15 +1028,25 @@ namespace OpenSim | |||
1028 | cdt.AddColumn("Circuit code", 12); | 1028 | cdt.AddColumn("Circuit code", 12); |
1029 | cdt.AddColumn("Endpoint", 23); | 1029 | cdt.AddColumn("Endpoint", 23); |
1030 | cdt.AddColumn("Active?", 7); | 1030 | cdt.AddColumn("Active?", 7); |
1031 | cdt.AddColumn("ChildAgent?", 7); | ||
1032 | cdt.AddColumn("ping(ms)", 8); | ||
1031 | 1033 | ||
1032 | SceneManager.ForEachScene( | 1034 | SceneManager.ForEachScene( |
1033 | s => s.ForEachClient( | 1035 | s => s.ForEachClient( |
1034 | c => cdt.AddRow( | 1036 | c => |
1035 | s.Name, | 1037 | { |
1036 | c.Name, | 1038 | bool child = false; |
1037 | c.CircuitCode.ToString(), | 1039 | if(c.SceneAgent != null && c.SceneAgent.IsChildAgent) |
1038 | c.RemoteEndPoint.ToString(), | 1040 | child = true; |
1039 | c.IsActive.ToString()))); | 1041 | cdt.AddRow( |
1042 | s.Name, | ||
1043 | c.Name, | ||
1044 | c.CircuitCode.ToString(), | ||
1045 | c.RemoteEndPoint.ToString(), | ||
1046 | c.IsActive.ToString(), | ||
1047 | child.ToString(), | ||
1048 | c.PingTimeMS); | ||
1049 | })); | ||
1040 | 1050 | ||
1041 | MainConsole.Instance.Output(cdt.ToString()); | 1051 | MainConsole.Instance.Output(cdt.ToString()); |
1042 | } | 1052 | } |