From 62b35d507a2d339fc51fa3904df4890758be6cb9 Mon Sep 17 00:00:00 2001 From: Rob Austin Date: Mon, 6 Oct 2014 13:24:40 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 360f81275..768c406d7 100644 --- a/README.md +++ b/README.md @@ -655,7 +655,6 @@ This example is the same as the one above, but it uses a slow throttled TCP/IP c ``` java - Map map1; Map map2; @@ -689,7 +688,8 @@ int udpPort = 1234; { TcpReplicationConfig tcpConfig = TcpReplicationConfig.of(8077) - .heartBeatInterval(1L, SECONDS); + .heartBeatInterval(1L, SECONDS) + .throttlingConfig(ThrottlingConfig.throttle(1024, TimeUnit.MILLISECONDS)); UdpReplicationConfig udpConfig = UdpReplicationConfig .simple(Inet4Address.getByName("255.255.255.255"), udpPort);