Skip to content

Commit

Permalink
Updated default values for poolOptions (#2451)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkedia authored and stephenplusplus committed Jul 17, 2017
1 parent 6a6e761 commit ec411f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/spanner/src/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ var TransactionRequest = require('./transaction-request.js');
* @param {boolean} options.fail - If set to true, an error will be thrown when
* there are no available sessions for a request. (Default: `false`)
* @param {number} options.max - Maximum number of resources to create at any
* given time. (Default: Number.MAX_SAFE_INTEGER)
* given time. (Default: `100`)
* @param {number} options.maxIdle - Maximum number of idle resources to keep
* in the pool at any given time.
* in the pool at any given time. (Default: `1`)
* @param {number} options.min - Minimum number of resources to keep in the pool
* at any given time. (Default: `0`)
* @param {number} options.keepAlive - How often to ping idle sessions, in
* minutes. Must be less than 1 hour.
* minutes. Must be less than 1 hour. (Default: `59`)
* @param {number} options.writes - Pre-allocate transactions for the number of
* sessions specified.
* sessions specified. (Default: `0`)
*
* @example
* var instance = spanner.instance('my-instance');
Expand Down

0 comments on commit ec411f4

Please sign in to comment.