Skip to content

Commit 046d9b1

Browse files
committed
Fix comments
1 parent 5f3f5a2 commit 046d9b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/internal/connection-holder.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export default class ConnectionHolder {
116116
/**
117117
* Return the current pooled connection instance to the connection pool.
118118
* We don't pool Session instances, to avoid users using the Session after they've called close.
119-
* The `Session` object is just a thin wrapper around ChannelConnection anyway, so it makes little difference.
119+
* The `Session` object is just a thin wrapper around Connection anyway, so it makes little difference.
120120
* @return {Promise} - promise resolved then connection is returned to the pool.
121121
* @private
122122
*/
@@ -162,7 +162,7 @@ class EmptyConnectionHolder extends ConnectionHolder {
162162
function ignoreError (error) {}
163163

164164
/**
165-
* ChannelConnection holder that does not manage any connections.
165+
* Connection holder that does not manage any connections.
166166
* @type {ConnectionHolder}
167167
*/
168168
export const EMPTY_CONNECTION_HOLDER = new EmptyConnectionHolder()

0 commit comments

Comments
 (0)