From f0b9a331bcc566a13b7cf5b118c5af0a47bcc63a Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Tue, 8 Nov 2011 10:04:59 -0800 Subject: [PATCH] rgw: use l_rgw_qactive perfcounter Signed-off-by: Greg Farnum --- src/rgw/rgw_main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rgw/rgw_main.cc b/src/rgw/rgw_main.cc index 1c0b95ce83045..d53ffa84bc80b 100644 --- a/src/rgw/rgw_main.cc +++ b/src/rgw/rgw_main.cc @@ -96,7 +96,9 @@ class RGWProcess { return req; } void _process(FCGX_Request *fcgx) { + perfcounter->inc(l_rgw_qactive); process->handle_request(fcgx); + perfcounter->inc(l_rgw_qactive, -1); } void _dump_queue() { deque::iterator iter; -- 2.39.5