mirror of https://github.com/grpc/grpc-node.git
grpc-js: Include other causes in ENHANCE_YOUR_CALM translation
This commit is contained in:
parent
832afbe89e
commit
647654c7c1
|
@ -600,7 +600,7 @@ export class Http2CallStream implements Call {
|
|||
break;
|
||||
case http2.constants.NGHTTP2_ENHANCE_YOUR_CALM:
|
||||
code = Status.RESOURCE_EXHAUSTED;
|
||||
details = 'Bandwidth exhausted';
|
||||
details = 'Bandwidth exhausted or memory limit exceeded';
|
||||
break;
|
||||
case http2.constants.NGHTTP2_INADEQUATE_SECURITY:
|
||||
code = Status.PERMISSION_DENIED;
|
||||
|
|
Loading…
Reference in New Issue