From 46f0bae356952b3f66f46b58aea03d93b08bce5e Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 3 Mar 2021 02:17:00 +0300 Subject: update readme --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f1f20dd..1e7f4ae 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,7 @@ For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s. * **`status()`** — returns status of internal queues and memory usage. * **`run-manual(ids: int[])`** — enqueue and run jobs with specified IDs and - `status` set to `manual`, and return results. - + `status` set to `manual`, and return results. ### jobd-master requests @@ -75,6 +74,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 @@ -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 -- cgit v1.2.3