grpcurl icon indicating copy to clipboard operation
grpcurl copied to clipboard

add cancel-after: cancel without timing out

Open zellyn opened this issue 4 years ago • 1 comments
trafficstars

zellyn avatar Jul 09 '21 20:07 zellyn

Hey, @zellyn! How are you doing?

There is already a max-time flag. I guess you want it to cancel, as opposed to using deadline propagation? Could you instead achieve this outside of grpcurl? Like use & to run it in the background and then send the background process a SIGTERM after the timeout? I think that would achieve the same effect, without cluttering the already long list of flags for this thing.

jhump avatar Jul 09 '21 21:07 jhump