diff options
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 b3c6db11..3f7cc27c 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)) of + case (catch couch_rep:start_replication(RepDoc, RepId, UserCtx, ?MODULE)) of Pid when is_pid(Pid) -> ok = gen_server:call(Server, {rep_started, RepId}, infinity), couch_rep:get_result(Pid, RepId, RepDoc, UserCtx); |