* Resets the reconnectionSchedule and tries to issue a reconnection immediately. * @internal * @ignore
()
| 188 | * @ignore |
| 189 | */ |
| 190 | checkIsUp() { |
| 191 | if (this.isUp()) { |
| 192 | return; |
| 193 | } |
| 194 | this.reconnectionSchedule = this.options.policies.reconnection.newSchedule(); |
| 195 | this.reconnectionDelay = 0; |
| 196 | this.pool.attemptNewConnectionImmediate(); |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * @param {Boolean} [waitForPending] When true, it waits for in-flight operations to be finish before closing the |
no test coverage detected