Skip to content

Commit

Permalink
Merge pull request #105 from AngusDavis/remove_grpc_v2
Browse files Browse the repository at this point in the history
Remvoe the configuration keys for grpc v2 as that is now the default
  • Loading branch information
AngusDavis committed Dec 30, 2014
2 parents 3160a4a + b1386dd commit 9b0af86
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public class AnviltopOptionsFactory {
public static final String ANVILTOP_HOST_KEY = "google.anviltop.endpoint.host";
public static final String PROJECT_ID_KEY = "google.anviltop.project.id";
public static final String CALL_REPORT_DIRECTORY_KEY = "google.anviltop.call.report.directory";
public static final String ENABLE_GRPC_V2_KEY = "google.anviltop.enable.grpc.v2";

/**
* If set, bypass DNS host lookup and use the given IP address.
Expand Down Expand Up @@ -192,8 +191,6 @@ public static AnviltopOptions fromConfiguration(Configuration configuration) thr
LOG.debug("gRPC retries enabled: %s", enableRetries);
optionsBuilder.setRetriesEnabled(enableRetries);

AbstractClientStream.GRPC_V2_PROTOCOL = configuration.getBoolean(ENABLE_GRPC_V2_KEY, true);

return optionsBuilder.build();
}
}

0 comments on commit 9b0af86

Please sign in to comment.