Skip to content

Commit

Permalink
prefix worker IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
arnisoph committed Jul 14, 2017
1 parent cb6d6f4 commit 244f39e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ var (
tearDownInProgress = false
randomSource = rand.New(rand.NewSource(time.Now().UnixNano()))

subscriberClientIdTemplate = "mqtt-stresser-sub-%s-%d-%d"
publisherClientIdTemplate = "mqtt-stresser-pub-%s-%d-%d"
topicNameTemplate = "internal/mqtt-stresser/%s/%d-%d"
subscriberClientIdTemplate = "mqtt-stresser-sub-%s-worker%d-%d"
publisherClientIdTemplate = "mqtt-stresser-pub-%s-worker%d-%d"
topicNameTemplate = "internal/mqtt-stresser/%s/worker%d-%d"

opTimeout = 5 * time.Second

Expand Down

0 comments on commit 244f39e

Please sign in to comment.