Skip to content

Commit

Permalink
we ideally support other values in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Oct 8, 2021
1 parent 5518545 commit 15a300d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mitmproxy/addons/clientplayback.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def load(self, loader):
)
loader.add_option(
"client_replay_concurrency", int, 1,
"Concurrency limit on in-flight client replay requests. Valid values are 1 and -1 (no limit)"
"Concurrency limit on in-flight client replay requests. Currently the only valid values are 1 and -1 (no limit)."
)

def configure(self, updated):
Expand All @@ -178,7 +178,7 @@ def configure(self, updated):

if "client_replay_concurrency" in updated:
if ctx.options.client_replay_concurrency not in [-1, 1]:
raise exceptions.OptionsError("Valid client_replay_concurrency values are -1 and 1")
raise exceptions.OptionsError("Currently the only valid client_replay_concurrency values are -1 and 1.")

@command.command("replay.client.count")
def count(self) -> int:
Expand Down

0 comments on commit 15a300d

Please sign in to comment.