summaryrefslogtreecommitdiff
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
parent7ac927101acc7d12e8d3525ecfd0291db422bbaf (diff)
stop by worker
-rw-r--r--pool.go1
-rw-r--r--todo.go3
2 files changed, 1 insertions, 3 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 {
diff --git a/todo.go b/todo.go
deleted file mode 100644
index 626035ec..00000000
--- a/todo.go
+++ /dev/null
@@ -1,3 +0,0 @@
-package roadrunner
-
-// job timeout? \ No newline at end of file