forked from TrueCloudLab/frostfs-node
services/tree: Replicate ops synchronously
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
d2ff4db847
commit
54e6a09143
2 changed files with 2 additions and 2 deletions
|
@ -190,7 +190,7 @@ func (s *Service) pushToQueue(cid cidSDK.ID, treeID string, op *pilorama.Move) {
|
|||
treeID: treeID,
|
||||
op: op,
|
||||
}:
|
||||
default:
|
||||
case <-s.closeCh:
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -664,7 +664,7 @@ func (s *Service) Apply(_ context.Context, req *ApplyRequest) (*ApplyResponse, e
|
|||
Meta: meta,
|
||||
},
|
||||
}:
|
||||
default:
|
||||
case <-s.closeCh:
|
||||
}
|
||||
return &ApplyResponse{Body: &ApplyResponse_Body{}, Signature: &Signature{}}, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue