summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-12-15 00:12:23 +0300
committerValery Piashchynski <[email protected]>2021-12-15 00:12:23 +0300
commitb4e4f7e7e60bff48a63df4a3c606398ea2a32d8a (patch)
treed018a39795b94f61e1dadde54ce3382fc7e039b0 /internal
parentf2c79017ae5759256b03ec58b608f298a29e4b96 (diff)
Update static_pool and worker to wait response from the worker
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/protocol.go4
1 files changed, 1 insertions, 3 deletions
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"`
}