grpc-js: disable http2 server timeout

gRPC has its own mechanisms for timing out a request.
Furthermore, the default timeout was removed from Node.js

Refs: https://github.com/nodejs/node/pull/27558
This commit is contained in:
cjihrig 2019-06-04 12:44:41 -04:00
parent 9c274034d0
commit 93ea51f116
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ export class Server {
this.http2Server = http2.createServer();
}
this.http2Server.setTimeout(0, noop);
this._setupHandlers();
function onError(err: Error): void {