diff options
| author | Ivar Refsdal <refsdal.ivar@gmail.com> | 2022-03-27 13:49:50 +0200 |
|---|---|---|
| committer | Ivar Refsdal <refsdal.ivar@gmail.com> | 2022-03-27 13:49:50 +0200 |
| commit | b28837ea804fbc6abd14fae23a92933b9406d5e1 (patch) | |
| tree | 98f3be6c5d0fc5b9a62b7c73bef7dfe18e01609e /README.md | |
| parent | Release 0.2.39 (diff) | |
| download | fiinha-b28837ea804fbc6abd14fae23a92933b9406d5e1.tar.gz fiinha-b28837ea804fbc6abd14fae23a92933b9406d5e1.tar.xz | |
Add healthy?, queue-stats functions and default functions for :on-system-error and :on-system-recovery
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -331,6 +331,34 @@ These dynamic bindings will be in place when yoltq logs errors, warnings etc. about failing consumer functions, possibly making troubleshooting easier. +## Change log + +### 2022-03-27 v0.2.41 +``` + Added function `healthy?` that returns: + true if no errors + false if one or more errors + nil if error-poller is yet to be executed. + + Added default functions for `:on-system-error` and `:on-system-recovery` + that simply logs that the system is in error (ERROR level) or has + recovered (INFO level). + + Added function `queue-stats` that returns a nicely "formatted" + vector of queue stats, for example: + (queue-stats) + => + [{:qname :add-message-thread, :status :done, :count 10274} + {:qname :add-message-thread, :status :init, :count 30} + {:qname :add-message-thread, :status :processing, :count 1} + {:qname :send-message, :status :done, :count 21106} + {:qname :send-message, :status :init, :count 56}] +``` + +### 2021-09-27 v0.2.39: ? +### 2021-09-27 v0.2.37: ? + +### 2021-09-24 v0.2.33: First publicly announced release. ## License @@ -345,4 +373,4 @@ Licenses when the conditions for such availability set forth in the Eclipse Public License, v. 2.0 are satisfied: GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version, with the GNU Classpath Exception which is available -at https://www.gnu.org/software/classpath/license.html.
\ No newline at end of file +at https://www.gnu.org/software/classpath/license.html. |
