Skip to content
Snippets Groups Projects
Commit 9ddda84e authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Add default (suggested) values for dummy traffic

parent e3d64953
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!86Update Bindings
...@@ -6,9 +6,9 @@ public struct NewDummyTrafficManager { ...@@ -6,9 +6,9 @@ public struct NewDummyTrafficManager {
public func callAsFunction( public func callAsFunction(
cMixId: Int, cMixId: Int,
maxNumMessages: Int, maxNumMessages: Int = 5,
avgSendDeltaMS: Int, avgSendDeltaMS: Int = 60_000,
randomRangeMS: Int randomRangeMS: Int = 1_000
) throws -> DummyTraffic { ) throws -> DummyTraffic {
try run(cMixId, maxNumMessages, avgSendDeltaMS, randomRangeMS) try run(cMixId, maxNumMessages, avgSendDeltaMS, randomRangeMS)
} }
......
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