Skip to content

Commit

Permalink
Fix handshake inactivity timeout on Node.js v4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jun 3, 2016
1 parent bf958d0 commit 2c16030
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ node_js:
- '1.8'
- '2.5'
- '3.3'
- '4.2.0' # Test timers regression
- '4.4'
- '5.11'
- '6.2'
Expand Down
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ you spot any mistakes.
* Bind underlying connections in pool to same domain as pool #1242
* Bind underlying socket to same domain as connection #1243
* Fix edge cases constructing long stack traces #1387
* Fix handshake inactivity timeout on Node.js v4.2.0 #1223 #1236 #1239 #1240 #1241 #1252
* Fix Query stream to emit close after ending #1349 #1350
* Fix type cast for BIGINT columns when number is negative #1376
* Performance improvements for array/object escaping in SqlString #1331
Expand Down
2 changes: 1 addition & 1 deletion lib/protocol/sequences/Sequence.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Sequence(options, callback) {
this._idleNext = null;
this._idlePrev = null;
this._idleStart = null;
this._idleTimeout = undefined;
this._idleTimeout = -1;
this._repeat = null;
}

Expand Down

0 comments on commit 2c16030

Please sign in to comment.