forked from TrueCloudLab/frostfs-node
[#1320] English Check
Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
parent
d99800ee93
commit
cc7a723d77
182 changed files with 802 additions and 802 deletions
|
@ -14,7 +14,7 @@ func (np *Processor) HandleNewEpochTick(ev event.Event) {
|
|||
_ = ev.(timerEvent.NewEpochTick)
|
||||
np.log.Info("tick", zap.String("type", "epoch"))
|
||||
|
||||
// send event to the worker pool
|
||||
// send an event to the worker pool
|
||||
|
||||
err := np.pool.Submit(func() { np.processNewEpochTick() })
|
||||
if err != nil {
|
||||
|
@ -30,7 +30,7 @@ func (np *Processor) handleNewEpoch(ev event.Event) {
|
|||
zap.String("type", "new epoch"),
|
||||
zap.Uint64("value", epochEvent.EpochNumber()))
|
||||
|
||||
// send event to the worker pool
|
||||
// send an event to the worker pool
|
||||
|
||||
err := np.pool.Submit(func() {
|
||||
np.processNewEpoch(epochEvent)
|
||||
|
@ -49,7 +49,7 @@ func (np *Processor) handleAddPeer(ev event.Event) {
|
|||
zap.String("type", "add peer"),
|
||||
)
|
||||
|
||||
// send event to the worker pool
|
||||
// send an event to the worker pool
|
||||
|
||||
err := np.pool.Submit(func() {
|
||||
np.processAddPeer(newPeer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue