forked from TrueCloudLab/frostfs-node
[#411] Remove unnecessary pointers for sync objects
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
f934abed8f
commit
faca861451
20 changed files with 39 additions and 64 deletions
|
@ -49,7 +49,7 @@ type (
|
|||
Processor struct {
|
||||
parsedWallets []util.Uint160
|
||||
// protects parsedWallets from concurrent change
|
||||
pwLock *sync.RWMutex
|
||||
pwLock sync.RWMutex
|
||||
log *logger.Logger
|
||||
metrics metrics.Register
|
||||
pool *ants.Pool
|
||||
|
@ -99,7 +99,6 @@ func New(p *Params) (*Processor, error) {
|
|||
|
||||
return &Processor{
|
||||
parsedWallets: p.ParsedWallets,
|
||||
pwLock: new(sync.RWMutex),
|
||||
log: p.Log,
|
||||
metrics: metricsRegister,
|
||||
pool: pool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue