Skip to content

Commit

Permalink
Revert "stub: enable GRPC_CLIENT_CALL_REJECT_RUNNABLE in ThreadlessEx…
Browse files Browse the repository at this point in the history
…ecutor shutdown (#9035)" (#9067)

This reverts commit c53c3ad.
  • Loading branch information
YifeiZhuang authored Apr 6, 2022
1 parent 9208c49 commit 584622c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stub/src/main/java/io/grpc/stub/ClientCalls.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit 584622c

Please sign in to comment.