()
| 342 | } |
| 343 | |
| 344 | _timeout() { |
| 345 | debug(`enter _timeout(), state: ${String(this.state)}, uuid: ${this.uuid}`); |
| 346 | this._checkState([IN_CALL]); |
| 347 | this.timeoutID = null; |
| 348 | const err = new Error('timeout exceeded, killing PythonCaller child'); |
| 349 | this.child.kill('SIGTERM'); |
| 350 | this.state = EXITING; |
| 351 | this._callCallback(err); |
| 352 | debug(`exit _timeout(), state: ${String(this.state)}, uuid: ${this.uuid}`); |
| 353 | } |
| 354 | |
| 355 | _clearTimeout() { |
| 356 | debug(`enter _clearTimeout(), state: ${String(this.state)}, uuid: ${this.uuid}`); |
nothing calls this directly
no test coverage detected