couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch commit: updated refs/heads/master to e497634
Date Mon, 08 Sep 2014 15:50:40 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master 735c4f299 -> e4976341e


Persist update task properties into process dictionary


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

Branch: refs/heads/master
Commit: e4976341e1353fbb6c9a272dd6f8df8e83b42ee9
Parents: 735c4f2
Author: Robert Newson <rnewson@apache.org>
Authored: Mon Sep 8 16:50:20 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Mon Sep 8 16:50:20 2014 +0100

----------------------------------------------------------------------
 src/couch_task_status.erl | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/e4976341/src/couch_task_status.erl
----------------------------------------------------------------------
diff --git a/src/couch_task_status.erl b/src/couch_task_status.erl
index 8adba6b..849ebd7 100644
--- a/src/couch_task_status.erl
+++ b/src/couch_task_status.erl
@@ -99,6 +99,7 @@ maybe_persist(TaskProps) ->
 
 persist(TaskProps0) ->
     TaskProps = ?set(TaskProps0, updated_on, timestamp(os:timestamp())),
+    put(task_status_props, TaskProps),
     gen_server:cast(?MODULE, {update_status, self(), TaskProps}).
 
 


Mime
View raw message