From 90b2eeb0e79f513be90dc91d0ba543bdaa454f5e Mon Sep 17 00:00:00 2001 From: Michael Hanselmann <hansmi@google.com> Date: Tue, 27 Sep 2011 16:57:44 +0200 Subject: [PATCH] =?UTF-8?q?http.client:=20Show=20pending=20requests=20as?= =?UTF-8?q?=20=E2=80=9Cowner=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In the context of the lock monitor a βpendingβ item does not yet own the requested resource. Since these HTTP requests are already undergoing they should be shown as owners. Signed-off-by: Michael Hanselmann <hansmi@google.com> Reviewed-by: RenΓ© Nussbaumer <rn@google.com> --- lib/http/client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/http/client.py b/lib/http/client.py index 619aebabe..1186e214d 100644 --- a/lib/http/client.py +++ b/lib/http/client.py @@ -508,8 +508,7 @@ class _PendingRequestMonitor: name = "%s%s" % (req.host, req.path) else: name = req.nicename - result.append(("rpc/%s" % name, None, None, - [("thread", [owner_name])])) + result.append(("rpc/%s" % name, None, [owner_name], None)) return result -- GitLab