couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [couchdb] 02/03: Remove superfluous start_replication messages
Date Fri, 09 Nov 2018 14:38:20 GMT
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 <kocolosk@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,


Mime
View raw message