Skip to content

Commit

Permalink
Fix godoc in the dyn queue size feature (#2984)
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Zhengwei <[email protected]>
  • Loading branch information
sniperking1234 authored May 10, 2021
1 parent 6a11d73 commit b9e7dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/collector/app/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ func (options) QueueSize(queueSize int) Option {
}
}

// DynQueueSize creates an Option that initializes the queue size
// DynQueueSizeWarmup creates an Option that initializes the dynamic queue size
func (options) DynQueueSizeWarmup(dynQueueSizeWarmup uint) Option {
return func(b *options) {
b.dynQueueSizeWarmup = dynQueueSizeWarmup
}
}

// DynQueueSize creates an Option that initializes the queue size
// DynQueueSizeMemory creates an Option that initializes the dynamic queue memory
func (options) DynQueueSizeMemory(dynQueueSizeMemory uint) Option {
return func(b *options) {
b.dynQueueSizeMemory = dynQueueSizeMemory
Expand Down

0 comments on commit b9e7dfb

Please sign in to comment.