Skip to content

Commit b92f0a7

Browse files
committed
wip: try revert all changes
1 parent 661b369 commit b92f0a7

File tree

3 files changed

+5
-153
lines changed

3 files changed

+5
-153
lines changed

packages/pg/lib/connection.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@ class Connection extends EventEmitter {
110110
}
111111

112112
attachListeners(stream) {
113-
// Use the appropriate implementation based on whether maxResultSize is enabled
114-
if (this._maxResultSize && this._maxResultSize > 0) {
115-
this._attachListenersWithSizeLimit(stream)
116-
} else {
113+
// // Use the appropriate implementation based on whether maxResultSize is enabled
114+
// if (this._maxResultSize && this._maxResultSize > 0) {
115+
// this._attachListenersWithSizeLimit(stream)
116+
// } else {
117117
this._attachListenersStandard(stream)
118-
}
118+
// }
119119
}
120120

121121
// Original implementation with no overhead

packages/pg/test/integration/client/max-result-size-tests.js

Lines changed: 0 additions & 95 deletions
This file was deleted.

packages/pg/test/integration/connection-pool/result-size-limit-tests.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)