diff --git a/README.md b/README.md index 4a548aec..29b0b5ce 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ being defined for jobs. queue. It is possible that the job was actually processed successfully by the worker, but the change for removing from in-progress queue was lost. -#### Expose lock count & max concurrency for each job (#2) +#### Expose lock count & max concurrency for each job (#2, #17) Added to the queue info accessible from [`work.Client.Queues()`](https://pkg.go.dev/github.com/gojek/work#Client.Queues). Useful for alerting when lock count is consistently equal to the max @@ -51,6 +51,8 @@ concurrency possibly indicating that stale lock count is resulting in jobs not b For the cleanup to be thorough, [`work.(*WorkerPool).Stop`](https://pkg.go.dev/github.com/gojek/work#WorkerPool.Stop) would need to be called on each worker pool instance. +The same info is also displayed on the queues page in WebUI (#17). + #### Worker pool started check (#15) Expose [`work.(*WorkerPool).Started`](https://pkg.go.dev/github.com/gojek/work#WorkerPool.Started) which can be used to check if the worker pool has been