Skip to content

Commit

Permalink
enable batching by default
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Jan 14, 2022
1 parent 5105438 commit 58c293b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client-pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ function ClientPool(options) {
clientConnectOptions.query = {
authKey: this.authKey
};
clientConnectOptions.batchOnHandshake = true
clientConnectOptions.batchOnHandshakeDuration = 500

this._handleClientError = (event) => {
this.emit('error', event);
Expand Down

0 comments on commit 58c293b

Please sign in to comment.