Skip to content

Commit

Permalink
Remove Local SSL context
Browse files Browse the repository at this point in the history
  • Loading branch information
anandkrshaw committed Sep 15, 2024
1 parent 4915032 commit 4c5a937
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@
*/
class DispatchClient {
private static final StreamObserver<Worker.CancelResponse> NO_OP_CANCEL_STREAM_OBSERVER = new CancelObserver();
private static final Logger LOGGER = LoggerFactory.getLogger(DispatchClient.class);
// the key is the hashCode of the TlsConfig, the value is the SslContext
// We don't use TlsConfig as the map key because the TlsConfig is mutable, which means the hashCode can change. If the
// hashCode changes and the map is resized, the SslContext of the old hashCode will be lost.
private static final Map<Integer, SslContext> CLIENT_SSL_CONTEXTS_CACHE = new ConcurrentHashMap<>();

private final ManagedChannel _channel;
private final PinotQueryWorkerGrpc.PinotQueryWorkerStub _dispatchStub;
Expand Down

0 comments on commit 4c5a937

Please sign in to comment.