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
12dc1cdc
Commit
12dc1cdc
authored
3 years ago
by
Josh Brooks
Browse files
Options
Downloads
Patches
Plain Diff
Add ForceMessagePickupRetry flag to CLI
parent
58bf8fcc
No related branches found
No related tags found
1 merge request
!23
Release
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+3
-0
3 additions, 0 deletions
README.md
cmd/root.go
+3
-0
3 additions, 0 deletions
cmd/root.go
interfaces/params/rounds.go
+4
-0
4 additions, 0 deletions
interfaces/params/rounds.go
with
10 additions
and
0 deletions
README.md
+
3
−
0
View file @
12dc1cdc
...
...
@@ -160,6 +160,9 @@ Flags:
base64 representations) (default "0")
--forceHistoricalRounds Force all rounds to be sent to historical
round retrieval
--forceMessagePickupRetry Enable a mechanism which forces a 50% chance
of no message pickup, instead triggering the
message pickup retry mechanism
-h, --help help for client
-l, --log string Path to the log output path (- is stdout)
(default "-")
...
...
This diff is collapsed.
Click to expand it.
cmd/root.go
+
3
−
0
View file @
12dc1cdc
...
...
@@ -769,6 +769,9 @@ func init() {
"Enables polling for unfiltered network updates with RSA signatures"
)
viper
.
BindPFlag
(
"slowPolling"
,
rootCmd
.
Flags
()
.
Lookup
(
"slowPolling"
))
rootCmd
.
Flags
()
.
Bool
(
"forceMessagePickupRetry"
,
false
,
"Enable a mechanism which forces a 50% chance of no message pickup, "
+
"instead triggering the message pickup retry mechanism"
)
// E2E Params
defaultE2EParams
:=
params
.
GetDefaultE2ESessionParams
()
...
...
This diff is collapsed.
Click to expand it.
interfaces/params/rounds.go
+
4
−
0
View file @
12dc1cdc
...
...
@@ -35,6 +35,10 @@ type Rounds struct {
// Interval between checking for rounds in UncheckedRoundStore
// due for a message retrieval retry
UncheckRoundPeriod
time
.
Duration
// Toggles if message pickup retrying mechanism if forced
// by intentionally not looking up messages
ForceMessagePickupRetry
bool
}
func
GetDefaultRounds
()
Rounds
{
...
...
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