Skip to content

Commit

Permalink
Cast as int (elastic#1876)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
gareth-ellis and elasticmachine authored Oct 15, 2024
1 parent 0e77d12 commit 543b4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esrally/tracker/tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def create_track(cfg: types.Config):
target_hosts = cfg.opts("client", "hosts").default
client_options = cfg.opts("client", "options").default
data_streams = cfg.opts("generator", "data_streams")
batch_size = cfg.opts("generator", "batch_size")
batch_size = int(cfg.opts("generator", "batch_size"))

distribution_flavor, distribution_version, _, _ = factory.cluster_distribution_version(target_hosts, client_options)
client = factory.EsClientFactory(
Expand Down

0 comments on commit 543b4dc

Please sign in to comment.