aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp/ext/filters
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2018-08-17 08:11:10 -0700
committerGravatar Mark D. Roth <roth@google.com>2018-08-17 08:11:10 -0700
commite9e92d443cdb2b9b9cde7f13eb6a426e988df69a (patch)
tree24c6e432b90114c1a5263b848d525ae3e08d2371 /src/cpp/ext/filters
parent4d6f002780e936290ddc629a6eb04a95567f5f8a (diff)
parentd19fd1c689b1d60cf329331da7fab5d1ca6063cc (diff)
Merge remote-tracking branch 'juanlishen/pf_check_state_before_watch' into pf_keep_unselected_subchannels
Diffstat (limited to 'src/cpp/ext/filters')
-rw-r--r--src/cpp/ext/filters/census/grpc_plugin.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cpp/ext/filters/census/grpc_plugin.cc b/src/cpp/ext/filters/census/grpc_plugin.cc
index f79e0e0e96..f978ed3bf5 100644
--- a/src/cpp/ext/filters/census/grpc_plugin.cc
+++ b/src/cpp/ext/filters/census/grpc_plugin.cc
@@ -32,12 +32,10 @@ namespace grpc {
void RegisterOpenCensusPlugin() {
RegisterChannelFilter<CensusChannelData, CensusClientCallData>(
- "opencensus_client", GRPC_CLIENT_CHANNEL,
- GRPC_CHANNEL_INIT_PRIORITY_VERY_HIGH, true /* prepend */,
+ "opencensus_client", GRPC_CLIENT_CHANNEL, INT_MAX /* priority */,
nullptr /* condition function */);
RegisterChannelFilter<CensusChannelData, CensusServerCallData>(
- "opencensus_server", GRPC_SERVER_CHANNEL,
- GRPC_CHANNEL_INIT_PRIORITY_VERY_HIGH, true /* prepend */,
+ "opencensus_server", GRPC_SERVER_CHANNEL, INT_MAX /* priority */,
nullptr /* condition function */);
// Access measures to ensure they are initialized. Otherwise, creating a view