Skip to content

Commit 174e3b3

Browse files
committed
fix misspelled words
1 parent 3829221 commit 174e3b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ func (c *Client) Swarm(rps float64, duration string) (*SwarmResponse, error) {
227227
}
228228
currentRps := initrps
229229

230-
// timed wait and start ramping up load untill expected rps
230+
// timed wait and start ramping up load until expected rps
231231

232232
for currentRps < targetRps {
233233
userTarget := calculateUsersTarget(targetRps, currentRps, userCount)
@@ -246,7 +246,7 @@ func (c *Client) Swarm(rps float64, duration string) (*SwarmResponse, error) {
246246
}
247247

248248
for r < initrps*float64(userCount)/2 {
249-
// get rps for current number of usrs, sleep for two seconds if not expected rps is achive
249+
// get rps for current number of usrs, sleep for two seconds if expected rps is not achieved.
250250
r, err = c.getCurrentRps()
251251
if err != nil {
252252
return &SwarmResponse{Message: "Failed to get current RPS from Locust", Success: false}, err

0 commit comments

Comments
 (0)