diff --git a/bindings/follow.go b/bindings/follow.go index 4eac704297643dbc946b02498223e4f24e02b5ab..ad1f420198e4738a51ebc8bc4c387dd48c939ae0 100644 --- a/bindings/follow.go +++ b/bindings/follow.go @@ -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)