Skip to content

Commit

Permalink
clarify logging message ("immediately" might sound like it disregards…
Browse files Browse the repository at this point in the history
… stop timeout, which it doesnt). 99% of users wont be using ramp down so making it just a little bit clearer for them is not worth confusing it for everyone else.
  • Loading branch information
cyberw committed Aug 21, 2020
1 parent 7d42d9b commit 709f189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locust/runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def stop_users(self, user_count, stop_rate=None):

if stop_rate == None or stop_rate >= user_count:
sleep_time = 0
logger.info("Stopping %i users immediately" % (user_count))
logger.info("Stopping %i users" % (user_count))
else:
sleep_time = 1.0 / stop_rate
logger.info("Stopping %i users at rate of %g users/s" % (user_count, stop_rate))
Expand Down

0 comments on commit 709f189

Please sign in to comment.