diff options
author | Wolfy-J <[email protected]> | 2019-05-03 13:38:20 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-05-03 13:38:20 +0300 |
commit | e9d42947a6922ce2f0aa9f9bcab4ead167735bc9 (patch) | |
tree | 38f84e1b1c26d15f4815f1e4509c0fc9031e6f87 /worker.go | |
parent | e52c29d081a14f0ec4efb01da11c69215ea40a6a (diff) |
better status
Diffstat (limited to 'worker.go')
-rw-r--r-- | worker.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -193,8 +193,8 @@ func (w *Worker) Exec(rqs *Payload) (rsp *Payload, err error) { return rsp, err } -func (w *Worker) markDisabled() { - w.state.set(StateDisabled) +func (w *Worker) markInvalid() { + w.state.set(StateInvalid) } func (w *Worker) start() error { |