arriven / db1000n

MIT License
1.18k stars 208 forks source link

Is there a command line option to scale down power of attack ? #499

Open HongKilDong opened 2 years ago

HongKilDong commented 2 years ago

I see there is a command line option scale up power of attack, but I need to scale down. What options do I have ?

arriven commented 2 years ago

it's not a direct scale down but you can make it use less resources by providing --min-interval to have artificial pauses between requests. It expects a duration value like --min-interval 1s or --min-interval 5000ms. If you use docker-compose or any cloud setup it may be easier to set that same option via MIN_INTERVAL environment variable