diff options
author | Anthony Huang <anthuang@umich.edu> | 2021-04-20 09:30:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-20 18:30:22 +0200 |
commit | 3f2d6cc068fc5fe9cfbf62dbeff5dfb1aa1f9114 (patch) | |
tree | 5e5cdec678f94ed248fc52fd30e8576c4fcab282 /docs | |
parent | e56e755b66bdc844055a2ac9e78b04fdb4bb974a (diff) |
fix(jobs): Handle zero jobs with zero thresholds (#2613)
* Handle zero jobs with negative thresholds
* Allow for zero threshold only
* Log when threshold is less than zero
* Address comments
* Add docs
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config/README.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/config/README.md b/docs/config/README.md index 1433f4691..b7e53246b 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -1453,7 +1453,8 @@ symbol = "🌟 " The `jobs` module shows the current number of jobs running. The module will be shown only if there are background jobs running. The module will show the number of jobs running if there is more than 1 job, or -more than the `threshold` config value, if it exists. +more than the `threshold` config value, if it exists. If `threshold` is set to 0, +then the module will also show when there are 0 jobs running. ::: warning |