forked from TrueCloudLab/frostfs-node
[#9999] engine: Add non-blocking send in the shard's notification channel
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
718f2bb5d6
commit
b5a81deb8d
1 changed files with 1 additions and 0 deletions
|
@ -328,6 +328,7 @@ func (e *StorageEngine) HandleNewEpoch(ctx context.Context, epoch uint64) {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
return
|
return
|
||||||
case sh.NotificationChannel() <- ev:
|
case sh.NotificationChannel() <- ev:
|
||||||
|
default:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue