File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,11 @@ var (
133
133
is received for this same period then the connection is closed and the
134
134
operation fails.` ))
135
135
maxTime = flags .Float64 ("max-time" , 0 , prettify (`
136
- The maximum total time the operation can take, in seconds. This is
137
- useful for preventing batch jobs that use grpcurl from hanging due to
138
- slow or bad network links or due to incorrect stream method usage.` ))
136
+ The maximum total time the operation can take, in seconds. This sets a
137
+ timeout on the gRPC context, allowing both client and server to give up
138
+ after the deadline has past. This is useful for preventing batch jobs
139
+ that use grpcurl from hanging due to slow or bad network links or due
140
+ to incorrect stream method usage.` ))
139
141
maxMsgSz = flags .Int ("max-msg-sz" , 0 , prettify (`
140
142
The maximum encoded size of a response message, in bytes, that grpcurl
141
143
will accept. If not specified, defaults to 4,194,304 (4 megabytes).` ))
You can’t perform that action at this time.
0 commit comments