diff --git a/AZ.Compute.Agent/Node.cs b/AZ.Compute.Agent/Node.cs index b090eb6..3ad6f03 100644 --- a/AZ.Compute.Agent/Node.cs +++ b/AZ.Compute.Agent/Node.cs @@ -23,7 +23,7 @@ namespace AZ.Compute.Agent NetworkInterface nic; ulong totalNetworkBytes; - const double nicSpeed = 10 * 1024 * 1024; // 10 MBps + const double nicSpeed = 1 * 1024 * 1024; // 1 MBps [Export] string id; @@ -105,7 +105,7 @@ namespace AZ.Compute.Agent var ntb = (ulong)nic.GetIPv4Statistics().BytesReceived + (ulong)nic.GetIPv4Statistics().BytesSent; - network = (float)(((ntb - totalNetworkBytes) / 5.0) / nicSpeed); + Network = (float)(((ntb - totalNetworkBytes) / 5.0) / nicSpeed); totalNetworkBytes = ntb; diff --git a/AZ.Compute/Web/index.html b/AZ.Compute/Web/index.html index 4b40076..c404400 100644 --- a/AZ.Compute/Web/index.html +++ b/AZ.Compute/Web/index.html @@ -63,7 +63,7 @@