From 77e8f361bb7e4dc1457fdc8cbd931bfb63226047 Mon Sep 17 00:00:00 2001 From: Asias He Date: Wed, 3 Jun 2015 10:24:24 +0800 Subject: [PATCH] storage_service: Reduce time for non-seed node to join the ring Waiting for 30 seconds is way too long for testing. Reduce it to 5 seconds. When we have a proper config system, we can specify in cmdline. --- service/storage_service.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/storage_service.hh b/service/storage_service.hh index 698269cc0c..67c62a8a93 100644 --- a/service/storage_service.hh +++ b/service/storage_service.hh @@ -83,7 +83,7 @@ private: } else #endif - return 30 * 1000; + return 5 * 1000; } /* This abstraction maintains the token/endpoint metadata information */ token_metadata _token_metadata;