Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Should global timeout override timeout in provided context? #1144

@devchas

Description

@devchas

When calling ServerStreamingCallable.call(request, context) with a context set like so

ApiCallContext context = GrpcCallContext.createDefault();
context = context.withTimeout(Duration.of(10, ChronoUnit.HOURS));

the global timeout settings override the provided context. As a result, I cannot override global settings. Is this intended behavior, or is this a bug? If intended behavior, how can I override the global settings?

Metadata

Metadata

Labels

priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions