Skip to content

Commit

Permalink
Fix needlessly broad constructor params for DistributedRunner.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Jan 3, 2025
1 parent 944b7f8 commit 77ac16a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions locust/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ def send_message(self, msg_type: str, data: Any = None, client_id: str | None =


class DistributedRunner(Runner):
def __init__(self, *args, **kwargs) -> None:
super().__init__(*args, **kwargs)
def __init__(self, environment) -> None:
super().__init__(environment)
setup_distributed_stats_event_listeners(self.environment.events, self.stats)


Expand Down

0 comments on commit 77ac16a

Please sign in to comment.