diff options
| author | Will Hawkins <[email protected]> | 2022-05-17 16:53:27 -0400 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2022-05-17 16:53:27 -0400 |
| commit | eb8f1e7826c375b1ad8ea16e842451677d74df11 (patch) | |
| tree | fe7bfaffca9a257b61bdd5b54795a23418805a3b | |
| parent | 140c64907408d1cf998f1616d6aec4bc2904ce95 (diff) | |
[Comments] Fix a few comments
1. A misleading comment was corrected.
2. A typo was fixed.
| -rw-r--r-- | rpm/rpm.go | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -304,7 +304,7 @@ func (p *Probe) GetTLSAndHttpHeaderDelta() time.Duration { if p.stats.ConnectionReused { // When we reuse a connection there will be no time logged for when the // TCP connection was established (obviously). So, fall back to the time - // when were notified about reusing a connection (as a close approximation!). + // when we were notified about reusing a connection (as a close approximation!). before = p.stats.GetConnectionDoneTime } delta := p.stats.HttpResponseReadyTime.Sub(before) @@ -561,10 +561,9 @@ func CalculateProbeMeasurements( responseChannel := make(chan utilities.MeasurementResult) go func() { /* - TODO: We *are* measuring round-trip times on the load-generating connection - right now. However, it is not clear if Apple is doing the same in their native - client. We will have to adjust based on that. - */ + * Depending on whether the user wants their measurements to be strict, we will + * measure on the LGC. + */ var saturated_probe_latency utilities.MeasurementResult if strict { |
