From 7aa4e8b2124400643843d625641160fd226246a7 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 3 Mar 2021 02:35:50 +0300 Subject: readme: update --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1e7f4ae..0aaaabb 100644 --- a/README.md +++ b/README.md @@ -69,11 +69,11 @@ For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s. ### jobd-master requests -* **`register-worker(targets: string[])`** — used by a jobd instance to register itself - with master. You don't need it. +* **`register-worker(targets: string[])`** — used by a jobd instance to register + itself with master. You don't need it. -* **`poke(targets: string[])`** — send `poll` requests to all registered workers that serve - specified `targets`. +* **`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 @@ -88,14 +88,13 @@ For optimization purposes, you can turn fields `target` and `slot` into `ENUM`s. workers and includes their responses. * **`run-manual(jobs: {id: int, target: string}[])`** — send `run-manual` - requests to registered jobd instances serving specified targets, and return - results. + requests to registered jobd instances serving specified targets, aggregate an + return results. ## TODO - graceful shutdown -- remove password from logger dumps - reload config at runtime - jobctl -- cgit v1.2.3