Skip to content

Commit e980d4f

Browse files
authored
Update artillery_generator.py
1 parent 929ef21 commit e980d4f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

load_generator/artillery_generator.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ def main():
6464

6565
args = parser.parse_args()
6666

67-
# Apply limits to input parameters
68-
args.max_users = max(1, min(1000, args.max_users)) # Ensure max_users is within 1-1000
69-
args.frequency = max(1, min(50, args.frequency)) # Ensure frequency is within 1-50 seconds
70-
args.cycles = max(1, min(50, args.cycles)) # Ensure cycles is within 1-50
71-
7267
# Generate YAML configuration using the input parameters
7368
config = create_yaml_config(args.max_users, args.frequency, args.cycles)
7469

0 commit comments

Comments
 (0)