mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-02 00:05:27 +00:00
server replay: expose the replay.server.count command
This commit is contained in:
parent
204726349d
commit
42b04a5413
@ -99,6 +99,7 @@ class ServerPlayback:
|
||||
self.flowmap = {}
|
||||
ctx.master.addons.trigger("update", [])
|
||||
|
||||
@command.command("replay.server.count")
|
||||
def count(self):
|
||||
return sum([len(i) for i in self.flowmap.values()])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user