From 95b33bd93714efae778522cb0e62689c1dc13b0c Mon Sep 17 00:00:00 2001 From: jsvisa Date: Thu, 23 Oct 2025 06:35:58 +0000 Subject: [PATCH] core/filtermaps: use buffered channel to avoid blocking Signed-off-by: jsvisa --- core/filtermaps/indexer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/filtermaps/indexer.go b/core/filtermaps/indexer.go index ca50fb466ce..d80fcab8fb5 100644 --- a/core/filtermaps/indexer.go +++ b/core/filtermaps/indexer.go @@ -143,7 +143,7 @@ func (f *FilterMaps) SetBlockProcessing(blockProcessing bool) { // latest targetView. func (f *FilterMaps) WaitIdle() { for { - ch := make(chan bool) + ch := make(chan bool, 1) // buffered so the indexer response can't block select { case f.waitIdleCh <- ch: if <-ch {