aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorUbitUmarov2014-08-14 20:41:36 +0100
committerUbitUmarov2014-08-14 20:41:36 +0100
commit8c657e48377213e7ee66c05a4047085cee6084ea (patch)
tree46103e8a47114a3ee9b0a206f97ee728efeef7eb /OpenSim/Region/Application
parent try external bakedModule when local cache is invalid and not just at login (diff)
downloadopensim-SC-8c657e48377213e7ee66c05a4047085cee6084ea.zip
opensim-SC-8c657e48377213e7ee66c05a4047085cee6084ea.tar.gz
opensim-SC-8c657e48377213e7ee66c05a4047085cee6084ea.tar.bz2
opensim-SC-8c657e48377213e7ee66c05a4047085cee6084ea.tar.xz
add a estimator of client ping time, and painfully make it visible in show
connections console command
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSim.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs
index 85049c9..13d8170 100644
--- a/OpenSim/Region/Application/OpenSim.cs
+++ b/OpenSim/Region/Application/OpenSim.cs
@@ -978,6 +978,7 @@ namespace OpenSim
978 cdt.AddColumn("Circuit code", 12); 978 cdt.AddColumn("Circuit code", 12);
979 cdt.AddColumn("Endpoint", 23); 979 cdt.AddColumn("Endpoint", 23);
980 cdt.AddColumn("Active?", 7); 980 cdt.AddColumn("Active?", 7);
981 cdt.AddColumn("ping(ms)", 8);
981 982
982 SceneManager.ForEachScene( 983 SceneManager.ForEachScene(
983 s => s.ForEachClient( 984 s => s.ForEachClient(
@@ -986,7 +987,8 @@ namespace OpenSim
986 c.Name, 987 c.Name,
987 c.CircuitCode.ToString(), 988 c.CircuitCode.ToString(),
988 c.RemoteEndPoint.ToString(), 989 c.RemoteEndPoint.ToString(),
989 c.IsActive.ToString()))); 990 c.IsActive.ToString(),
991 c.PingTimeMS)));
990 992
991 MainConsole.Instance.Output(cdt.ToString()); 993 MainConsole.Instance.Output(cdt.ToString());
992 } 994 }