From 85a2a629f7292312ecb3f0c64ea9202fef542e5e Mon Sep 17 00:00:00 2001 From: dwasse Date: Fri, 10 May 2024 12:54:50 -0500 Subject: [PATCH] Fix: put blocking call to Start() in new goroutine (#2614) --- services/rfq/api/rest/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/rfq/api/rest/server.go b/services/rfq/api/rest/server.go index 03e2693edc..e1a4a9c37d 100644 --- a/services/rfq/api/rest/server.go +++ b/services/rfq/api/rest/server.go @@ -81,7 +81,7 @@ func NewAPI( ) roleCache := roles[chainID] - roleCache.Start() + go roleCache.Start() go func() { <-ctx.Done() roleCache.Stop()