Skip to content

Commit

Permalink
applied key for elevator
Browse files Browse the repository at this point in the history
  • Loading branch information
yahya077 authored and yahya.hindioglu committed Mar 29, 2024
1 parent 40403a5 commit 8deaad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/yml_concurrent_example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func main() {
PutBodyParser("todoRoom", "addTodo", room.NewJsonBodyParser(payload)).
PutBodyParser("todo1Room", "addTodo", room.NewJsonBodyParser(payload)).
PutBodyParser("todo2Room", "addTodo", room.NewJsonBodyParser(payload)).
ExecuteConcurrent("add")
ExecuteConcurrent("add", "todoRoom", "todo1Room", "todo2Room") // you can either set applied rooms here or just leave it empty for all rooms

fmt.Println(engine.GetElapsedTime())

Expand Down

0 comments on commit 8deaad1

Please sign in to comment.