[#9999] engine: Add non-blocking send in the shard's notification channel
Some checks failed
DCO action / DCO (pull_request) Successful in 1m43s
Vulncheck / Vulncheck (pull_request) Successful in 1m53s
Tests and linters / Staticcheck (pull_request) Successful in 2m10s
Tests and linters / Lint (pull_request) Failing after 2m24s
Build / Build Components (pull_request) Successful in 2m34s
Tests and linters / gopls check (pull_request) Successful in 3m7s
Tests and linters / Tests (pull_request) Successful in 3m27s
Tests and linters / Tests with -race (pull_request) Successful in 4m2s

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-11-06 10:05:23 +03:00
parent 718f2bb5d6
commit b5a81deb8d
Signed by: dstepanov-yadro
GPG key ID: 237AF1A763293BC0

View file

@ -328,6 +328,7 @@ func (e *StorageEngine) HandleNewEpoch(ctx context.Context, epoch uint64) {
case <-ctx.Done():
return
case sh.NotificationChannel() <- ev:
default:
}
}
}