Skip to content

Commit

Permalink
improve fn comments
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerinthenight committed Nov 22, 2024
1 parent f512a1f commit 65ea827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hedge.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ type withGroupSyncInterval time.Duration
func (w withGroupSyncInterval) Apply(op *Op) { op.syncInterval = time.Duration(w) }

// WithGroupSyncInterval sets the internal interval timeout to sync membership
// within the group. If not set, defaults to 30s. Minimum value is 2s.
// within the group in seconds. If not set, defaults to 30s. Minimum value is 2s.
func WithGroupSyncInterval(v time.Duration) Option { return withGroupSyncInterval(v) }

type withLeaderHandler struct {
Expand Down

0 comments on commit 65ea827

Please sign in to comment.