couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject couch-replicator commit: updated refs/heads/COUCHDB-2734-header-date to f17c2fd
Date Mon, 29 Jun 2015 22:00:21 GMT
Repository: couchdb-couch-replicator
Updated Branches:
  refs/heads/COUCHDB-2734-header-date [created] f17c2fde9


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/f17c2fde
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/f17c2fde
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/f17c2fde

Branch: refs/heads/COUCHDB-2734-header-date
Commit: f17c2fde9547396b48e4e4cdb5e8614c6aab1a8f
Parents: cfda535
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Fri Jun 26 23:44:03 2015 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Mon Jun 29 23:52:56 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/f17c2fde/src/couch_replicator.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator.erl b/src/couch_replicator.erl
index f8a3e65..2434a47 100644
--- a/src/couch_replicator.erl
+++ b/src/couch_replicator.erl
@@ -623,7 +623,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(),
@@ -726,7 +726,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},


Mime
View raw message