Skip to content

Commit 4734dfa

Browse files
committed
wip: code without tests
1 parent 6cae86d commit 4734dfa

File tree

3 files changed

+2
-149
lines changed

3 files changed

+2
-149
lines changed

packages/pg/lib/connection.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ class Connection extends EventEmitter {
110110
}
111111

112112
attachListeners(stream) {
113+
var self = this
113114
// Use the appropriate implementation based on whether maxResultSize is enabled
114-
if (this._maxResultSize && this._maxResultSize > 0) {
115+
if (self._maxResultSize && self._maxResultSize > 0) {
115116
this._attachListenersWithSizeLimit(stream)
116117
} else {
117118
this._attachListenersStandard(stream)

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

-95
This file was deleted.

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

-53
This file was deleted.

0 commit comments

Comments
 (0)