Skip to content

Commit e97069b

Browse files
authored
Merge pull request #1946 from murgatroid99/grpc-js_resource_exhausted_message
grpc-js: Include other causes in ENHANCE_YOUR_CALM translation
2 parents b8c2b9a + 647654c commit e97069b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/call-stream.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ export class Http2CallStream implements Call {
600600
break;
601601
case http2.constants.NGHTTP2_ENHANCE_YOUR_CALM:
602602
code = Status.RESOURCE_EXHAUSTED;
603-
details = 'Bandwidth exhausted';
603+
details = 'Bandwidth exhausted or memory limit exceeded';
604604
break;
605605
case http2.constants.NGHTTP2_INADEQUATE_SECURITY:
606606
code = Status.PERMISSION_DENIED;

0 commit comments

Comments
 (0)