-
Notifications
You must be signed in to change notification settings - Fork 260
Close telemetry socket when its done #302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close telemetry socket when its done #302
Conversation
2. fix for closing connection socket if server receives error on read
Codecov Report
@@ Coverage Diff @@
## master #302 +/- ##
==========================================
+ Coverage 45.26% 45.79% +0.53%
==========================================
Files 25 25
Lines 3155 3177 +22
==========================================
+ Hits 1428 1455 +27
+ Misses 1504 1498 -6
- Partials 223 224 +1
Continue to review full report at Codecov.
|
telemetry/telemetrybuffer.go
Outdated
|
|
||
| // Cancel - signal to tear down telemetry buffer | ||
| func (tb *TelemetryBuffer) Cancel() { | ||
| telemetryLogger.Printf("Calling cancel") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this log?
jaer-tsun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
jaer-tsun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: