summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-06-11 21:46:03 +0300
committerWolfy-J <[email protected]>2018-06-11 21:46:03 +0300
commitaba7704b71a00294b38a995e3ecadd0bd7cc6c12 (patch)
treeb8da096852811dd6240676aa839674ae1451ce3f /worker.go
parent2b626f392f8884573aa26d51d4df9d16136a282e (diff)
no library dependency
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker.go b/worker.go
index df45a1c8..811bda5f 100644
--- a/worker.go
+++ b/worker.go
@@ -186,6 +186,9 @@ func (w *Worker) Exec(rqs *Payload) (rsp *Payload, err error) {
}
}
+ // todo: attach when payload is complete
+ // todo: new status
+
w.state.set(StateReady)
return rsp, err
}