Skip to content

Commit

Permalink
Fix example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daniloakamine committed Nov 20, 2024
1 parent dac692d commit 1430a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/custom-load-shape.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This shape class will increase user count in blocks of 100 and then stop the loa
if run_time < self.time_limit:
# User count rounded to nearest hundred.
user_count = round(run_time, -2)
return (user_count, spawn_rate)
return (user_count, self.spawn_rate)
return None
Expand Down

0 comments on commit 1430a83

Please sign in to comment.