locust-cloud 1.5.10__py3-none-any.whl → 1.5.11__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.
locust_cloud/cloud.py CHANGED
@@ -201,10 +201,10 @@ def main() -> None:
201
201
  deployed_pods: list[Any] = []
202
202
  worker_count: int = max(options.workers or math.ceil(options.users / USERS_PER_WORKER), 2)
203
203
  os.environ["AWS_DEFAULT_REGION"] = options.region
204
- if options.users > 10000:
205
- logger.error("You asked for more than 10000 Users, that isn't allowed.")
204
+ if options.users > 5000000:
205
+ logger.error("You asked for more than 5000000 Users, that isn't allowed.")
206
206
  sys.exit(1)
207
- if worker_count > 20:
207
+ if worker_count > 1000:
208
208
  logger.error("You asked for more than 20 workers, that isn't allowed.")
209
209
  sys.exit(1)
210
210
  try:
locust_cloud/constants.py CHANGED
@@ -2,4 +2,4 @@ DEFAULT_REGION_NAME = "us-east-1"
2
2
  DEFAULT_CLUSTER_NAME = "dmdb"
3
3
  DEFAULT_NAMESPACE = "default"
4
4
  DEFAULT_DEPLOYER_URL = "https://api.locust.cloud/1"
5
- USERS_PER_WORKER = 500
5
+ USERS_PER_WORKER = 5000