You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ko...@apache.org on 2018/11/09 14:38:20 UTC

[couchdb] 02/03: Remove superfluous start_replication messages

This is an automated email from the ASF dual-hosted git repository.

kocolosk pushed a commit to branch mem3-seedlist
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 31d7a3a31780f210051c8c4b0a703a6aec7b2cc5
Author: Adam Kocoloski <ko...@apache.org>
AuthorDate: Fri Nov 9 09:09:31 2018 -0500

    Remove superfluous start_replication messages
    
    This is a holdover from an initial prototype; the current version is
    already equipped to run start_replication only as often as necessary to
    get the node into a ready state.
---
 src/mem3/src/mem3_seeds.erl | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mem3/src/mem3_seeds.erl b/src/mem3/src/mem3_seeds.erl
index 7946396..f1aceb9 100644
--- a/src/mem3/src/mem3_seeds.erl
+++ b/src/mem3/src/mem3_seeds.erl
@@ -55,7 +55,6 @@ get_status() ->
 
 init([]) ->
     Seeds = get_seeds(),
-    timer:send_interval(?REPLICATION_INTERVAL, start_replication),
     InitStatus = [{Seed, {[]}} || Seed <- Seeds],
     State = #st{
         seeds = Seeds,