summaryrefslogtreecommitdiff
path: root/static_pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-14 12:48:23 +0300
committerValery Piashchynski <[email protected]>2020-12-14 12:48:23 +0300
commit8203dc4d76624f4fceddff49b8a1aba9d525fc73 (patch)
tree0243010b2c7dd26dcd87e7965da4affe80731dd2 /static_pool.go
parent673da74925dee5c62064d3304289ae81cb499217 (diff)
Move to goridge3
Diffstat (limited to 'static_pool.go')
-rwxr-xr-xstatic_pool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/static_pool.go b/static_pool.go
index b626a499..3b5ed00c 100755
--- a/static_pool.go
+++ b/static_pool.go
@@ -162,6 +162,7 @@ func (sp *StaticPool) Exec(p Payload) (Payload, error) {
}
// worker want's to be terminated
+ // TODO careful with string(rsp.Context)
if rsp.Body == nil && rsp.Context != nil && string(rsp.Context) == StopRequest {
sw.State().Set(StateInvalid)
err = sw.Stop(bCtx)