Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Fix ping #14

Merged
merged 2 commits into from
Aug 19, 2019
Merged

Fix ping #14

merged 2 commits into from
Aug 19, 2019

Conversation

danrabinowitz
Copy link
Contributor

No description provided.

@@ -91,7 +91,12 @@ func (client *Client) NetworkMetrics() map[string]float64 {
log.Infof("Speedtest Download: %v Mbps", downloadMbps)
uploadMbps := tester.Upload(client.Server)
log.Infof("Speedtest Upload: %v Mbps", uploadMbps)
ping := client.Server.Latency
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method of getting a latency returns the same value for every run.

@danrabinowitz
Copy link
Contributor Author

danrabinowitz commented Aug 17, 2019

image

This graph shows how the latency was exactly constant for an hour, until I deployed a version with the fix in this PR.

@nlamirault nlamirault merged commit 9f8295d into nlamirault:master Aug 19, 2019
@danrabinowitz danrabinowitz deleted the fix-ping branch September 27, 2019 01:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants