mirror of https://github.com/grpc/grpc-java.git
stub: enable throwing rejected execution exception on ThreadlessExecutor shutdown (#10555)
This commit is contained in:
parent
923ac60416
commit
5f480de2ee
|
|
@ -58,8 +58,8 @@ public final class ClientCalls {
|
|||
|
||||
@VisibleForTesting
|
||||
static boolean rejectRunnableOnExecutor =
|
||||
!Strings.isNullOrEmpty(System.getenv("GRPC_CLIENT_CALL_REJECT_RUNNABLE"))
|
||||
&& Boolean.parseBoolean(System.getenv("GRPC_CLIENT_CALL_REJECT_RUNNABLE"));
|
||||
Strings.isNullOrEmpty(System.getenv("GRPC_CLIENT_CALL_REJECT_RUNNABLE"))
|
||||
|| Boolean.parseBoolean(System.getenv("GRPC_CLIENT_CALL_REJECT_RUNNABLE"));
|
||||
|
||||
// Prevent instantiation
|
||||
private ClientCalls() {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue