mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fix: drop pool.autostart from mssql options because it's unused (#7877)
This commit is contained in:
parent
dcdaacacaf
commit
0d21a4d07e
@ -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).
|
||||
|
||||
|
||||
@ -192,8 +192,6 @@
|
||||
|
||||
- `pool.priorityRange` - 1和x之间的int值 - 如果设置了且没有可用资源,则borrowers可以在队列中指定其相对优先级(默认 `1`)。
|
||||
|
||||
- `pool.autostart` - 布尔值,一旦调用构造函数,池应该开始创建资源等(默认为`true`)。
|
||||
|
||||
- `pool.victionRunIntervalMillis` - 多久检查一次eviction checks。 默认值:`0`(不运行)。
|
||||
|
||||
- `pool.numTestsPerRun` - 每次eviction checks资源数量。 默认值:`3`。
|
||||
|
||||
@ -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).
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user