Repository: couchdb-couch-stats Updated Branches: refs/heads/master c4039dd69 -> a842f3bc6
Use `chttpd:qs` instead of `couch_httpd:qs` Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/commit/a842f3bc Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/tree/a842f3bc Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/diff/a842f3bc Branch: refs/heads/master Commit: a842f3bc662ccd35aed5214dc6b34e4796aad553 Parents: c4039dd Author: ILYA Khlopotov <[email protected]> Authored: Thu Jul 23 13:09:35 2015 -0700 Committer: ILYA Khlopotov <[email protected]> Committed: Thu Jul 23 13:09:35 2015 -0700 ---------------------------------------------------------------------- src/couch_stats_httpd.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/blob/a842f3bc/src/couch_stats_httpd.erl ---------------------------------------------------------------------- diff --git a/src/couch_stats_httpd.erl b/src/couch_stats_httpd.erl index f31fccf..0c24d88 100644 --- a/src/couch_stats_httpd.erl +++ b/src/couch_stats_httpd.erl @@ -105,7 +105,7 @@ maybe_format_key(Key) when is_binary(Key) -> Key. flush(Req) -> - case couch_util:get_value("flush", couch_httpd:qs(Req)) of + case couch_util:get_value("flush", chttpd:qs(Req)) of "true" -> couch_stats_aggregator:flush(); _Else ->
