mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-197 removed entry size from the repliaction hub
This commit is contained in:
@@ -37,7 +37,6 @@ public class MapByNameTest {
|
||||
@Before
|
||||
public void setUp() throws IOException {
|
||||
final ReplicationHub replicationHub = ReplicationHub.builder()
|
||||
.maxEntrySize(10 * 1024)
|
||||
.tcpTransportAndNetwork(TcpTransportAndNetworkConfig.of(8243))
|
||||
.createWithId((byte) 1);
|
||||
|
||||
|
||||
@@ -62,10 +62,9 @@ public class SingleMapChannelTest {
|
||||
.of(8086, new InetSocketAddress("localhost", 8087))
|
||||
.autoReconnectedUponDroppedConnection(true)
|
||||
.heartBeatInterval(1, SECONDS);
|
||||
int maxEntrySize = 1024;
|
||||
|
||||
byte identifier = 1;
|
||||
hubA = ReplicationHub.builder()
|
||||
.maxEntrySize(maxEntrySize)
|
||||
.tcpTransportAndNetwork(tcpConfig)
|
||||
.createWithId(identifier);
|
||||
// this is how you add maps after the custer is created
|
||||
|
||||
Reference in New Issue
Block a user