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
Merge requests
!432
Control node reg
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Control node reg
controlNodeReg
into
release
Overview
0
Commits
20
Pipelines
0
Changes
1
Merged
Benjamin Wenger
requested to merge
controlNodeReg
into
release
2 years ago
Overview
0
Commits
20
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
28252323
Prev
Next
Show latest version
1 file
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
28252323
Fix comments
· 28252323
Jono Wenger
authored
2 years ago
bindings/follow.go
+
3
−
2
Options
@@ -184,7 +184,8 @@ func (c *Cmix) GetNodeRegistrationStatus() ([]byte, error) {
// resume them.
//
// Parameters:
// - timeoutMS - The timeout, in milliseconds, to wait when stopping threads.
// - timeoutMS - The timeout, in milliseconds, to wait when stopping threads
// before failing.
func
(
c
*
Cmix
)
PauseNodeRegistrations
(
timeoutMS
int
)
error
{
timeout
:=
time
.
Duration
(
timeoutMS
)
*
time
.
Millisecond
return
c
.
api
.
PauseNodeRegistrations
(
timeout
)
@@ -196,7 +197,7 @@ func (c *Cmix) PauseNodeRegistrations(timeoutMS int) error {
// Parameters:
// - toRun - The number of parallel node registrations.
// - timeoutMS - The timeout, in milliseconds, to wait when changing node
// registrations.
// registrations
before failing
.
func
(
c
*
Cmix
)
ChangeNumberOfNodeRegistrations
(
toRun
,
timeoutMS
int
)
error
{
timeout
:=
time
.
Duration
(
timeoutMS
)
*
time
.
Millisecond
return
c
.
api
.
ChangeNumberOfNodeRegistrations
(
toRun
,
timeout
)
Loading