Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Feb 20, 2023
1 parent 9cac0a2 commit cd41ad3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions locust_plugins/connection_pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

@events.init_command_line_parser.add_listener
def _(parser: ArgumentParser):

parser.add_argument(
"--pool_size",
type=int,
Expand Down Expand Up @@ -129,7 +128,6 @@ def put(self, path, data=None, name=None, **kwargs):

class RequestPool:
def __init__(self, *, user: HttpUser, size: Optional[int] = None):

"""
Connection pool for the HttpUser, the user will use the connections
in round robin style for every HTTP request.
Expand Down
2 changes: 0 additions & 2 deletions locust_plugins/users/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def __init__(
bundle_resource_stats,
cache_resource_links,
):

# store resource links for requests
self.cache_resource_links = cache_resource_links
self.resource_link_cache = {}
Expand Down Expand Up @@ -99,7 +98,6 @@ def _request(self, func):
def wrapper(
*args, include_resources=self.include_resources, resource_filter=self.resource_filter_pattern, **kwargs
):

response = func(*args, **kwargs)

if include_resources:
Expand Down

0 comments on commit cd41ad3

Please sign in to comment.