You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2015/10/18 12:17:41 UTC

couch-replicator commit: updated refs/heads/master to 3ce7857

Repository: couchdb-couch-replicator
Updated Branches:
  refs/heads/master e58f535ca -> 3ce785710


revert cdf8949 (couch_util:rfc1123_date)

this got fixed in R14B02 as OTP-9087

COUCHDB-627


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/3ce78571
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/3ce78571
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/3ce78571

Branch: refs/heads/master
Commit: 3ce785710e28222064bfcfd68d7fd0af96b72add
Parents: e58f535
Author: Robert Kowalski <ro...@kowalski.gd>
Authored: Fri Jun 26 23:44:03 2015 +0200
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Sun Oct 18 12:16:57 2015 +0200

----------------------------------------------------------------------
 src/couch_replicator.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/3ce78571/src/couch_replicator.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator.erl b/src/couch_replicator.erl
index f5055e0..ff18223 100644
--- a/src/couch_replicator.erl
+++ b/src/couch_replicator.erl
@@ -624,7 +624,7 @@ init_state(Rep) ->
         committed_seq = StartSeq,
         source_log = SourceLog,
         target_log = TargetLog,
-        rep_starttime = couch_util:rfc1123_date(),
+        rep_starttime = httpd_util:rfc1123_date(),
         src_starttime = get_value(<<"instance_start_time">>, SourceInfo),
         tgt_starttime = get_value(<<"instance_start_time">>, TargetInfo),
         session_id = couch_uuids:random(),
@@ -727,7 +727,7 @@ do_checkpoint(State) ->
         couch_log:notice("recording a checkpoint for `~s` -> `~s` at source update_seq ~p",
             [SourceName, TargetName, NewSeq]),
         StartTime = ?l2b(ReplicationStartTime),
-        EndTime = ?l2b(couch_util:rfc1123_date()),
+        EndTime = ?l2b(httpd_util:rfc1123_date()),
         NewHistoryEntry = {[
             {<<"session_id">>, SessionId},
             {<<"start_time">>, StartTime},