mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
debug: num_fds is posix-only
This commit is contained in:
parent
0848d1085e
commit
5566a1f0e6
@ -44,7 +44,8 @@ def dump_info(sig, frm, file=sys.stdout): # pragma: no cover
|
||||
print("Summary", file=file)
|
||||
print("=======", file=file)
|
||||
print("num threads: ", p.num_threads(), file=file)
|
||||
print("num fds: ", p.num_fds(), file=file)
|
||||
if hasattr(p, "num_fds"):
|
||||
print("num fds: ", p.num_fds(), file=file)
|
||||
print("memory: ", p.memory_info(), file=file)
|
||||
|
||||
print(file=file)
|
||||
|
Loading…
Reference in New Issue
Block a user