From b4e4f7e7e60bff48a63df4a3c606398ea2a32d8a Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 15 Dec 2021 00:12:23 +0300 Subject: Update static_pool and worker to wait response from the worker Signed-off-by: Valery Piashchynski --- internal/protocol.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'internal/protocol.go') diff --git a/internal/protocol.go b/internal/protocol.go index ba923ef5..c5916f22 100755 --- a/internal/protocol.go +++ b/internal/protocol.go @@ -4,14 +4,12 @@ import ( "os" "sync" - j "github.com/json-iterator/go" + json "github.com/json-iterator/go" "github.com/spiral/errors" "github.com/spiral/goridge/v3/pkg/frame" "github.com/spiral/goridge/v3/pkg/relay" ) -var json = j.ConfigCompatibleWithStandardLibrary - type StopCommand struct { Stop bool `json:"stop"` } -- cgit v1.2.3