locust-cloud 1.3.1__py3-none-any.whl → 1.3.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -195,7 +195,7 @@ VALUES (%(time)s, %(run_id)s, %(greenlet_id)s, %(loadgen)s, %(name)s, %(request_
195
195
  "INSERT INTO testruns (id, num_users, description, arguments) VALUES (%s,%s,%s,%s)",
196
196
  (
197
197
  self._run_id,
198
- self.env.parsed_options.num_users or self.env.runner.user_count or 0,
198
+ self.env.runner.target_user_count if self.env.runner else 1,
199
199
  "self.env.parsed_options.description",
200
200
  " ".join(cmd),
201
201
  ),