summaryrefslogtreecommitdiff
path: root/pool.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-01-28 15:44:18 +0300
committerWolfy-J <[email protected]>2018-01-28 15:44:18 +0300
commit2390c945478ad2bb00ab73ea98aad50a42d64f0b (patch)
tree5afc11edef41a40c440d3876f58677f7e5dafe4b /pool.go
parent7ac927101acc7d12e8d3525ecfd0291db422bbaf (diff)
stop by worker
Diffstat (limited to 'pool.go')
-rw-r--r--pool.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pool.go b/pool.go
index 7abfe7b2..4c9f0b26 100644
--- a/pool.go
+++ b/pool.go
@@ -95,6 +95,7 @@ func (p *Pool) Exec(rqs *Payload) (rsp *Payload, err error) {
return nil, errors.Wrap(err, "unable to allocate worker")
}
+ //todo: timeout
rsp, err = w.Exec(rqs)
if err != nil {