- Configuring Redis and the heartbeat key now correctly updates even after Zhong is configured initially.
- Some cleanup in how config is stored in general.
- Much more performant heartbeat checks (thanks, @sherinkurian).
- Make it very clear when callbacks cause skips of ticks or runs.
- Add logging when jobs/ticks are skipped.
- Do not skip when callbacks return nil (only on false explicitly).
- Improve test coverage.
- Fix a small serialization issue.
- Add Zhong.any_running? for monitoring that any Zhong node has checked in rencently
- More code cleanup/refactoring.
- Improve the API.
- Add scheduler test.
- Add Zhong::Web to see job status, and enable/disable jobs. Activate it with: Rails.application.routes.draw do # ... require "zhong/web" mount Zhong::Web => "/zhong" # or wherever
- Fix several bugs related to time parsing.
- In a totally unrelated change, add some tests around time parsing.
- Fix several memory leaks.
- Add a proper error handler block.
- Fix bug with setting
at
like "**:35".
- Handle multiple
at
s (at: ["mon 8:00, tues 9:30"]). - Job callbacks (:before_tick, :after_tick, etc).
- First release.