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/09/07 17:23:54 UTC
couch commit: updated refs/heads/master to 735c4f2
Repository: couchdb-couch
Updated Branches:
refs/heads/master db58e794f -> 735c4f299
Really fix MatchSpec for get_stale_proc_count
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch/commit/735c4f29
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch/tree/735c4f29
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch/diff/735c4f29
Branch: refs/heads/master
Commit: 735c4f299d9be6584a9f2dbbcf1445c9e64351c1
Parents: db58e79
Author: Robert Newson <rn...@apache.org>
Authored: Sun Sep 7 16:23:27 2014 +0100
Committer: Robert Newson <rn...@apache.org>
Committed: Sun Sep 7 16:23:27 2014 +0100
----------------------------------------------------------------------
src/couch_proc_manager.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/735c4f29/src/couch_proc_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_proc_manager.erl b/src/couch_proc_manager.erl
index 8f29c00..7ca8e01 100644
--- a/src/couch_proc_manager.erl
+++ b/src/couch_proc_manager.erl
@@ -123,7 +123,7 @@ handle_call(get_proc_count, _From, State) ->
handle_call(get_stale_proc_count, _From, State) ->
#state{threshold_ts = T0} = State,
- MatchSpec = [{#proc_int{t0='$1', _='_'}, [{'<', '$1', T0}], [true]}],
+ MatchSpec = [{#proc_int{t0='$1', _='_'}, [{'<', '$1', {T0}}], [true]}],
{reply, ets:select_count(?PROCS, MatchSpec), State};
handle_call({get_proc, #doc{body={Props}}=DDoc, DDocKey}, From, State) ->