You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2014/08/29 00:55:13 UTC
couch-mrview commit: updated refs/heads/master to 33a51cc
Repository: couchdb-couch-mrview
Updated Branches:
refs/heads/master 4cc8114a6 -> 33a51ccd6
Use ioq to separately prioritise compaction requests
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/commit/33a51ccd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/tree/33a51ccd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/diff/33a51ccd
Branch: refs/heads/master
Commit: 33a51ccd6d202f6f16e89eead7810e57f49adfbf
Parents: 4cc8114
Author: Robert Newson <rn...@apache.org>
Authored: Thu Aug 28 23:53:33 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Thu Aug 28 23:53:33 2014 +0100
----------------------------------------------------------------------
src/couch_mrview.app.src | 2 +-
src/couch_mrview_compactor.erl | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/33a51ccd/src/couch_mrview.app.src
----------------------------------------------------------------------
diff --git a/src/couch_mrview.app.src b/src/couch_mrview.app.src
index 4da46f9..9c95ed0 100644
--- a/src/couch_mrview.app.src
+++ b/src/couch_mrview.app.src
@@ -24,5 +24,5 @@
couch_mrview_util
]},
{registered, []},
- {applications, [kernel, stdlib, couch_index, couch_stats]}
+ {applications, [kernel, stdlib, couch_index, couch_stats, ioq]}
]}.
http://git-wip-us.apache.org/repos/asf/couchdb-couch-mrview/blob/33a51ccd/src/couch_mrview_compactor.erl
----------------------------------------------------------------------
diff --git a/src/couch_mrview_compactor.erl b/src/couch_mrview_compactor.erl
index 735b790..8775c24 100644
--- a/src/couch_mrview_compactor.erl
+++ b/src/couch_mrview_compactor.erl
@@ -34,6 +34,7 @@ compact(_Db, State, Opts) ->
end.
compact(State) ->
+ erlang:put(io_class, compaction),
#mrst{
db_name=DbName,
idx_name=IdxName,