mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 19:36:07 +08:00
add a estimator of client ping time, and painfully make it visible in show
connections console command
This commit is contained in:
@@ -978,6 +978,7 @@ namespace OpenSim
|
||||
cdt.AddColumn("Circuit code", 12);
|
||||
cdt.AddColumn("Endpoint", 23);
|
||||
cdt.AddColumn("Active?", 7);
|
||||
cdt.AddColumn("ping(ms)", 8);
|
||||
|
||||
SceneManager.ForEachScene(
|
||||
s => s.ForEachClient(
|
||||
@@ -986,7 +987,8 @@ namespace OpenSim
|
||||
c.Name,
|
||||
c.CircuitCode.ToString(),
|
||||
c.RemoteEndPoint.ToString(),
|
||||
c.IsActive.ToString())));
|
||||
c.IsActive.ToString(),
|
||||
c.PingTimeMS)));
|
||||
|
||||
MainConsole.Instance.Output(cdt.ToString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user