Skip to content
Snippets Groups Projects
Commit 60d58a1c authored by Jonah Husson's avatar Jonah Husson
Browse files

Add suggested values for NewDummyTrafficManager inputs

parent b6705445
No related branches found
No related tags found
2 merge requests!510Release,!377Add suggested values for NewDummyTrafficManager inputs
...@@ -29,12 +29,12 @@ type DummyTraffic struct { ...@@ -29,12 +29,12 @@ type DummyTraffic struct {
// Parameters: // Parameters:
// - cmixId - a Cmix object ID in the tracker. // - cmixId - a Cmix object ID in the tracker.
// - maxNumMessages - the upper bound of the random number of messages sent // - maxNumMessages - the upper bound of the random number of messages sent
// each sending cycle. // each sending cycle. Suggested value: 5.
// - avgSendDeltaMS - the average duration, in milliseconds, to wait between // - avgSendDeltaMS - the average duration, in milliseconds, to wait between
// sends. // sends. Suggested value: 60000.
// - randomRangeMS - the upper bound of the interval between sending cycles, in // - randomRangeMS - the upper bound of the interval between sending cycles, in
// milliseconds. Sends occur every avgSendDeltaMS +/- a random duration with // milliseconds. Sends occur every avgSendDeltaMS +/- a random duration with
// an upper bound of randomRangeMS. // an upper bound of randomRangeMS. Suggested value: 1000.
func NewDummyTrafficManager(cmixId, maxNumMessages, avgSendDeltaMS, func NewDummyTrafficManager(cmixId, maxNumMessages, avgSendDeltaMS,
randomRangeMS int) (*DummyTraffic, error) { randomRangeMS int) (*DummyTraffic, error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment