fix: drop pool.autostart from mssql options because it's unused (#7877)

This commit is contained in:
James Ward 2021-07-09 12:54:45 -04:00 committed by GitHub
parent dcdaacacaf
commit 0d21a4d07e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 9 deletions

View File

@ -271,8 +271,6 @@ See [SSL options](https://github.com/mysqljs/mysql#ssl-options).
* `pool.priorityRange` - int between 1 and x - if set, borrowers can specify their relative priority in the queue if no
resources are available. see example. (default `1`).
* `pool.autostart` - boolean, should the pool start creating resources etc once the constructor is called, (default `true`).
* `pool.evictionRunIntervalMillis` - How often to run eviction checks. Default: `0` (does not run).

View File

@ -192,8 +192,6 @@
- `pool.priorityRange` - 1和x之间的int值 - 如果设置了且没有可用资源则borrowers可以在队列中指定其相对优先级(默认 `1`)。
- `pool.autostart` - 布尔值,一旦调用构造函数,池应该开始创建资源等(默认为`true`)。
- `pool.victionRunIntervalMillis` - 多久检查一次eviction checks。 默认值:`0`(不运行)。
- `pool.numTestsPerRun` - 每次eviction checks资源数量。 默认值:`3`

View File

@ -79,11 +79,6 @@ export interface SqlServerConnectionOptions extends BaseConnectionOptions, SqlSe
*/
readonly priorityRange?: number;
/**
* Should the pool start creating resources etc once the constructor is called, (default true)
*/
readonly autostart?: number;
/**
* How often to run eviction checks. Default: 0 (does not run).
*/