forked from TrueCloudLab/frostfs-node
[#1508] node: Remove unused replicator code
The node does not support asynchronous object replication anymore, so it does not need to have replicator worker, channel and `AddTask` function. Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
2e4a1cb6df
commit
df8a3807fe
4 changed files with 0 additions and 50 deletions
|
@ -13,16 +13,12 @@ import (
|
|||
// local objects to remote nodes.
|
||||
type Replicator struct {
|
||||
*cfg
|
||||
|
||||
ch chan *Task
|
||||
}
|
||||
|
||||
// Option is an option for Policer constructor.
|
||||
type Option func(*cfg)
|
||||
|
||||
type cfg struct {
|
||||
taskCap uint32
|
||||
|
||||
putTimeout time.Duration
|
||||
|
||||
log *logger.Logger
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue