From eb311dbb988a4d3adada9774d43a79806a453745 Mon Sep 17 00:00:00 2001 From: Martin Patera Date: Fri, 30 Jun 2023 02:24:16 +0200 Subject: [PATCH] fix: remove acquireTimeout invalid option (#2095) --- typings/mysql/lib/Pool.d.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/typings/mysql/lib/Pool.d.ts b/typings/mysql/lib/Pool.d.ts index d740105ff2..ef7cc30632 100644 --- a/typings/mysql/lib/Pool.d.ts +++ b/typings/mysql/lib/Pool.d.ts @@ -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.