* Increases the size of the connection pool in the background, if needed.
()
| 361 | * Increases the size of the connection pool in the background, if needed. |
| 362 | */ |
| 363 | increaseSize() { |
| 364 | if (this.connections.length < this.coreConnectionsLength && !this.hasScheduledNewConnection()) { |
| 365 | // schedule the next connection in the background |
| 366 | this.scheduleNewConnectionAttempt(0); |
| 367 | } |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * Gets the amount of responses and resets the internal counter. |
no test coverage detected