Skip to content

Commit

Permalink
fix: remove acquireTimeout invalid option (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
mzstic authored Jun 30, 2023
1 parent 5b48cb7 commit eb311db
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions typings/mysql/lib/Pool.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ import { QueryableBase } from './protocol/sequences/QueryableBase.js';
import { ExecutableBase } from './protocol/sequences/ExecutableBase.js';

export interface PoolOptions extends ConnectionOptions {
/**
* The milliseconds before a timeout occurs during the connection acquisition. This is slightly different from connectTimeout,
* because acquiring a pool connection does not always involve making a connection. (Default: 10 seconds)
*/
acquireTimeout?: number;

/**
* Determines the pool's action when no connections are available and the limit has been reached. If true, the pool will queue
* the connection request and call it when one becomes available. If false, the pool will immediately call back with an error.
Expand Down

0 comments on commit eb311db

Please sign in to comment.