Skip to content

Commit c63e221

Browse files
committed
Clean up a bit more
1 parent 0c1ba36 commit c63e221

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

runtime/protocol/http-client-engines/http-client-engine-okhttp/jvm/src/aws/smithy/kotlin/runtime/http/engine/okhttp/ConnectionMonitoringEventListener.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,14 @@ internal class ConnectionMonitoringEventListener(
8080
override fun connectionReleased(call: Call, connection: Connection) {
8181
super.connectionReleased(call, connection)
8282

83-
// Get connection ID and socket
8483
val connId = System.identityHashCode(connection)
8584
val callContext = call.callContext()
8685

8786
// Start monitoring
8887
val monitor = monitorScope.launch(CoroutineName("okhttp-conn-monitor-for-$connId")) {
8988
doMonitor(connection, callContext)
9089
}
91-
callContext.logger<ConnectionMonitoringEventListener>().trace { "Launched coroutine $monitor to monitor connection ID $connId" }
90+
callContext.logger<ConnectionMonitoringEventListener>().trace { "Launched coroutine $monitor to monitor $connId" }
9291

9392
// Non-locking map access is okay here because this code will only execute synchronously as part of a
9493
// `connectionReleased` event and will be complete before any future `connectionAcquired` event could fire for

0 commit comments

Comments
 (0)