Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
d5bd9b11
Commit
d5bd9b11
authored
2 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Clean up documentation
parent
fa79a577
No related branches found
No related tags found
2 merge requests
!510
Release
,
!329
Hotfix/dummy message bindings
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/dummy.go
+4
-4
4 additions, 4 deletions
bindings/dummy.go
with
4 additions
and
4 deletions
bindings/dummy.go
+
4
−
4
View file @
d5bd9b11
...
@@ -32,9 +32,9 @@ type DummyTraffic struct {
...
@@ -32,9 +32,9 @@ type DummyTraffic struct {
// each sending cycle.
// each sending cycle.
// - avgSendDeltaMS - the average duration, in milliseconds, to wait
// - avgSendDeltaMS - the average duration, in milliseconds, to wait
// between sends.
// between sends.
// - randomRangeMS - the upper bound of the interval between sending cycles
.
// - randomRangeMS - the upper bound of the interval between sending cycles
,
// Sends occur every avgSendDeltaMS +/- a random duration
with an
//
in milliseconds.
Sends occur every avgSendDeltaMS +/- a random duration
// upper bound of randomRangeMS
//
with an
upper bound of randomRangeMS
.
func
NewDummyTrafficManager
(
e2eID
,
maxNumMessages
,
avgSendDeltaMS
,
func
NewDummyTrafficManager
(
e2eID
,
maxNumMessages
,
avgSendDeltaMS
,
randomRangeMS
int
)
(
*
DummyTraffic
,
error
)
{
randomRangeMS
int
)
(
*
DummyTraffic
,
error
)
{
...
@@ -62,7 +62,7 @@ func NewDummyTrafficManager(e2eID, maxNumMessages, avgSendDeltaMS,
...
@@ -62,7 +62,7 @@ func NewDummyTrafficManager(e2eID, maxNumMessages, avgSendDeltaMS,
//
//
// Params:
// Params:
// - boolean - True: Sending thread is sending dummy messages.
// - boolean - True: Sending thread is sending dummy messages.
// False: Sending thread is paused/stopped and is not sending dummy messages
// False: Sending thread is paused/stopped and is not sending dummy messages
.
// Returns:
// Returns:
// - error - if the DummyTraffic.SetStatus is called too frequently, causing the
// - error - if the DummyTraffic.SetStatus is called too frequently, causing the
// internal status channel to fill.
// internal status channel to fill.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment