Commit 90b2eeb0 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

http.client: Show pending requests as “owner”



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: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 7cb2d205
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment