From 67b0d565bde9a0bc1ece4b7f22d283e469ded083 Mon Sep 17 00:00:00 2001 From: Yi Jin <96499497+jnyi@users.noreply.github.com> Date: Thu, 11 Apr 2024 11:02:29 -0700 Subject: [PATCH] Receive: fix issue-7248 with parallel receive_forward (#7267) * Receive: fix issue-7248 by introducing a worker pool Signed-off-by: Yi Jin * fix unit test bug Signed-off-by: Yi Jin * fix CLI flags not pass into the receive handler Signed-off-by: Yi Jin * address comments Signed-off-by: Yi Jin * init context in constructor Signed-off-by: Yi Jin --------- Signed-off-by: Yi Jin --- pkg/receive/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/receive/handler.go b/pkg/receive/handler.go index 5368ee08ea..a385fab5df 100644 --- a/pkg/receive/handler.go +++ b/pkg/receive/handler.go @@ -46,6 +46,7 @@ import ( extpromhttp "github.com/thanos-io/thanos/pkg/extprom/http" "github.com/thanos-io/thanos/pkg/pool" + "github.com/thanos-io/thanos/pkg/pool" "github.com/thanos-io/thanos/pkg/runutil" "github.com/thanos-io/thanos/pkg/server/http/middleware" "github.com/thanos-io/thanos/pkg/store/labelpb"