grpc-js: Include other causes in ENHANCE_YOUR_CALM translation

This commit is contained in:
Michael Lumish 2021-10-19 08:33:25 -07:00
parent 832afbe89e
commit 647654c7c1
1 changed files with 1 additions and 1 deletions

View File

@ -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;