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
88dabade
Commit
88dabade
authored
2 years ago
by
Benjamin Wenger
Browse files
Options
Downloads
Patches
Plain Diff
fixed a bug in e2e crititcal messages
parent
9b7c24df
No related branches found
No related tags found
2 merge requests
!510
Release
,
!250
Hotfix/refactor connect
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmix/client.go
+3
-3
3 additions, 3 deletions
cmix/client.go
e2e/critical.go
+1
-0
1 addition, 0 deletions
e2e/critical.go
with
4 additions
and
3 deletions
cmix/client.go
+
3
−
3
View file @
88dabade
...
...
@@ -117,14 +117,14 @@ func NewClient(params Params, comms *commClient.Comms, session storage.Session,
c
.
Handler
=
message
.
NewHandler
(
c
.
param
.
Message
,
c
.
session
.
GetKV
(),
c
.
events
,
c
.
session
.
GetReceptionID
())
err
:=
c
.
connect
(
session
.
GetNDF
())
err
:=
c
.
initialize
(
session
.
GetNDF
())
return
c
,
err
}
//
connect
turns on network handlers, initializing a host pool and
//
initialize
turns on network handlers, initializing a host pool and
// network health monitors. This should be called before
// network Follow command is called.
func
(
c
*
client
)
connect
(
ndf
*
ndf
.
NetworkDefinition
)
error
{
func
(
c
*
client
)
initialize
(
ndf
*
ndf
.
NetworkDefinition
)
error
{
// Start network instance
instance
,
err
:=
commNetwork
.
NewInstance
(
c
.
comms
.
ProtoComms
,
ndf
,
nil
,
nil
,
commNetwork
.
None
,
...
...
This diff is collapsed.
Click to expand it.
e2e/critical.go
+
1
−
0
View file @
88dabade
...
...
@@ -53,6 +53,7 @@ func newCritical(kv *versioned.KV, hm func(f func(bool)) uint64,
E2eMessageBuffer
:
cm
,
trigger
:
make
(
chan
bool
,
100
),
send
:
send
,
healthcb
:
hm
,
}
return
c
...
...
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