mirror of https://github.com/grpc/grpc-java.git
rls: OobChannel doesn't use directpath by default (#7176)
This commit is contained in:
parent
21269bd188
commit
b8822e56af
|
|
@ -87,7 +87,7 @@ final class CachingRlsLbClient {
|
||||||
"io.grpc.rls.CachingRlsLbClient.enable_oobchannel_directpath";
|
"io.grpc.rls.CachingRlsLbClient.enable_oobchannel_directpath";
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
static boolean enableOobChannelDirectPath =
|
static boolean enableOobChannelDirectPath =
|
||||||
Boolean.parseBoolean(System.getProperty(RLS_ENABLE_OOB_CHANNEL_DIRECTPATH_PROPERTY, "true"));
|
Boolean.parseBoolean(System.getProperty(RLS_ENABLE_OOB_CHANNEL_DIRECTPATH_PROPERTY, "false"));
|
||||||
|
|
||||||
// All cache status changes (pending, backoff, success) must be under this lock
|
// All cache status changes (pending, backoff, success) must be under this lock
|
||||||
private final Object lock = new Object();
|
private final Object lock = new Object();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue