Merge pull request #1946 from murgatroid99/grpc-js_resource_exhausted_message

grpc-js: Include other causes in ENHANCE_YOUR_CALM translation
This commit is contained in:
Michael Lumish 2021-10-20 09:02:28 -07:00 committed by GitHub
commit e97069be2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;