mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-197 - improved buffer resizing
This commit is contained in:
@@ -60,11 +60,14 @@ final class ChannelProvider implements Closeable {
|
||||
return channelProvider;
|
||||
channelProvider = new ChannelProvider(hub);
|
||||
TcpTransportAndNetworkConfig tcpConfig = hub.tcpTransportAndNetwork();
|
||||
|
||||
|
||||
if (tcpConfig != null) {
|
||||
|
||||
final TcpReplicator tcpReplicator = new TcpReplicator(
|
||||
channelProvider.asReplica,
|
||||
channelProvider.asEntryExternalizable,
|
||||
tcpConfig, null, hub.remoteNodeValidator());
|
||||
tcpConfig, hub.remoteNodeValidator(), null);
|
||||
channelProvider.add(tcpReplicator);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user