Skip to content

Commit

Permalink
fixup! fixup! Initialize every connection of http client with session…
Browse files Browse the repository at this point in the history
… settings
  • Loading branch information
mkleen committed Sep 3, 2024
1 parent c813c65 commit 50b02a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cr8/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(self, hosts, concurrency, sample_mode, session_settings=None):
self.concurrency = concurrency
self.client = client(hosts, session_settings=session_settings, concurrency=concurrency)
self.sampler = get_sampler(sample_mode)
self.session_settings = session_settings
self.session_settings = session_settings or {}

def set_session_settings(self):
if isinstance(self.client, HttpClient):
Expand Down

0 comments on commit 50b02a3

Please sign in to comment.