diff options
author | Robert Newson <robert.newson@cloudant.com> | 2012-06-18 15:05:47 +0100 |
---|---|---|
committer | Robert Newson <robert.newson@cloudant.com> | 2012-06-18 15:26:01 +0100 |
commit | 0ad1f99f63e19fe4843a619675039f5d3024883e (patch) | |
tree | f63510b17949dbe7d9933dbecd22e22cbf7df64a /apps/couch/src/couch_replication_manager.erl | |
parent | a15c8ef62f47675c4b661b96ef2e5bdf733932ee (diff) |
Revert "allow replication callback module to be chosen at runtime."
This reverts commit faf9071260147275bbac1633b599e85b4a302e8b.
Diffstat (limited to 'apps/couch/src/couch_replication_manager.erl')
-rw-r--r-- | apps/couch/src/couch_replication_manager.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch/src/couch_replication_manager.erl b/apps/couch/src/couch_replication_manager.erl index 3715cea1..6ced17e4 100644 --- a/apps/couch/src/couch_replication_manager.erl +++ b/apps/couch/src/couch_replication_manager.erl @@ -408,7 +408,7 @@ maybe_tag_rep_doc(DocId, {RepProps}, RepId) -> start_replication(Server, RepDoc, RepId, UserCtx, Wait) -> ok = timer:sleep(Wait * 1000), - case (catch couch_rep:start_replication(RepDoc, RepId, UserCtx, ?MODULE)) of + case (catch couch_rep:start_replication(RepDoc, RepId, UserCtx)) of Pid when is_pid(Pid) -> ok = gen_server:call(Server, {rep_started, RepId}, infinity), couch_rep:get_result(Pid, RepId, RepDoc, UserCtx); |