update readme
This commit is contained in:
parent
03cda643ad
commit
46f0bae356
16
README.md
16
README.md
@ -67,7 +67,6 @@ For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s.
|
||||
* **`run-manual(ids: int[])`** — enqueue and run jobs with specified IDs and
|
||||
`status` set to `manual`, and return results.
|
||||
|
||||
|
||||
### jobd-master requests
|
||||
|
||||
* **`register-worker(targets: string[])`** — used by a jobd instance to register itself
|
||||
@ -76,6 +75,14 @@ For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s.
|
||||
* **`poke(targets: string[])`** — send `poll` requests to all registered workers that serve
|
||||
specified `targets`.
|
||||
|
||||
* **`pause(targets: string[])`** — send `pause(targets)` requests to workers
|
||||
serving specified `targets`. If `targets` argument is not specified, sends
|
||||
`pause()` to all workers.
|
||||
|
||||
* **`continue(targets: string[])`** — send `continue(targets)` requests to workers
|
||||
serving specified `targets`. If `targets` argument is not specified, sends
|
||||
`continue()` to all workers.
|
||||
|
||||
* **`status(poll_workers=false: bool)`** — returns list of registered workers and
|
||||
memory usage. If `pollWorkers` is true, sends `status()` request to all registered
|
||||
workers and includes their responses.
|
||||
@ -87,13 +94,6 @@ For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s.
|
||||
|
||||
## TODO
|
||||
|
||||
**jobd**:
|
||||
- `pause(targets)` / `continue(targets)`
|
||||
|
||||
**jobd-master**:
|
||||
- `pause(targets)` / `continue(targets)`
|
||||
|
||||
other:
|
||||
- graceful shutdown
|
||||
- remove password from logger dumps
|
||||
- reload config at runtime
|
||||
|
Loading…
x
Reference in New Issue
Block a user