forked from TrueCloudLab/frostfs-node
[#643] pkg: Sync method names and commentaries to them
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
25391111ad
commit
48827f42d3
33 changed files with 41 additions and 41 deletions
|
@ -90,14 +90,14 @@ func WithMaxPDPSleepInterval(dur time.Duration) Option {
|
|||
}
|
||||
}
|
||||
|
||||
// WithPDPWorkerPool returns option to set worker pool for PDP pairs processing.
|
||||
// WithPDPWorkerPoolGenerator returns option to set worker pool for PDP pairs processing.
|
||||
func WithPDPWorkerPoolGenerator(f func() (util.WorkerPool, error)) Option {
|
||||
return func(c *cfg) {
|
||||
c.pdpPoolGenerator = f
|
||||
}
|
||||
}
|
||||
|
||||
// WithPoRWorkerPool returns option to set worker pool for PoR SG processing.
|
||||
// WithPoRWorkerPoolGenerator returns option to set worker pool for PoR SG processing.
|
||||
func WithPoRWorkerPoolGenerator(f func() (util.WorkerPool, error)) Option {
|
||||
return func(c *cfg) {
|
||||
c.porPoolGenerator = f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue