Just a quick reply.

On Wed, Jul 22, 2026 at 1:26 PM Carl Mastrangelo <[email protected]>
wrote:

> That's kinda what I remembered too, but then it made me think that there
> wasn't a way to increase it.
>

Correct, you don't increase it. (except by fork(). see below)

Another request:  [Javadoc] guidance on when to use the Stub, CallOption,
> or Context for setting deadlines.
>

There's no preference. Context is general purpose, so works even when not
immediately calling gRPC, but is more annoying because you have to provide
it a ScheduledExecutorService and cancel it yourself. Stub is a convenience
to set CallOption.

One other idea:  Is it possible to fork a context with the current
> key-values, but drop the cancellation propagation?  Something like
> Context.ROOT.withAllKeys(Context.current()).attach().
>

Context.fork()
<https://grpc.github.io/grpc-java/javadoc/io/grpc/Context.html#fork()>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oNi7zf72Riuxj9aatUrhnc%3DYs1wWJQJ7%2BVD5ydfo-7NeQ%40mail.gmail.com.

Reply via email to