From 83eb36796fe391d3fb69af12d5ac3bced555b703 Mon Sep 17 00:00:00 2001 From: Asias He Date: Tue, 27 Oct 2015 10:57:45 +0800 Subject: [PATCH] storage_service: Kill FIXME for LoadBroadcaster.BROADCAST_INTERVAL It is available now. --- service/storage_service.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/service/storage_service.cc b/service/storage_service.cc index af3b9841f3..a55594ac7e 100644 --- a/service/storage_service.cc +++ b/service/storage_service.cc @@ -283,9 +283,7 @@ void storage_service::join_token_ring(int delay) { if (replace_addr && *replace_addr != get_broadcast_address()) { // Sleep additionally to make sure that the server actually is not alive // and giving it more time to gossip if alive. - // FIXME: LoadBroadcaster.BROADCAST_INTERVAL - std::chrono::milliseconds broadcast_interval(60 * 1000); - sleep(broadcast_interval).get(); + sleep(service::load_broadcaster::BROADCAST_INTERVAL).get(); // check for operator errors... for (auto token : _bootstrap_tokens) {