John Roesler
ebec5e9f91
elector & locker were failing to send out when not leader ( #688 )
...
* elector & locker were failing to send out when not leader
* update test to confirm non-active elector/locker are checked
* clean up data race
* try to make test more reliable
2024-03-12 08:37:11 -05:00
John Roesler
27f2cbaa41
fix cases where default on send out is resulting in job not going out ( #686 )
2024-03-05 10:55:42 -06:00
John Roesler
b1ffc665fb
fix RunNow() when calling from a job returned by Jobs() ( #668 )
2024-02-02 09:46:08 -06:00
John Roesler
5c69001e27
Add job monitor interface to allow for collecting job metrics ( #659 )
...
* Add metrics each run of job
* Fix lint
* Fix test lint
* Fix backwards job status
* Add tags
* Comment example
* Rename it
* Fix some names
* Fix readme
* update readme, examples, naming
* fix unrelated test that was leaking scheduler
* remove overzealous leak detection
* rename interface methods
---------
Co-authored-by: gorodet-sky <gorodetsky.dev@gmail.com>
2024-01-17 15:39:11 -06:00
John Roesler
800821c923
wait for new job to be fully created before returning ( #658 )
2024-01-17 11:48:25 -06:00
John Roesler
ae366d91ea
make the order of the returned jobs slice deterministic ( #652 )
2024-01-02 10:47:01 -06:00
John Roesler
6e15f16d77
add new features, OneTimeJob and Job.RunNow() ( #646 )
2023-12-18 21:13:37 -06:00
John Roesler
80a4f43686
check function param length and type ( #638 )
2023-12-14 13:52:32 -06:00
John Roesler
aa4400d224
Update docs, tests, and release prep ( #629 )
2023-12-11 10:39:59 -06:00
John Roesler
5814fbcb6f
allow max concurrent runs and singleton mode together ( #625 )
2023-11-28 06:48:22 -06:00
John Roesler
63225ac1a9
export function comments
2023-11-22 06:43:50 -06:00
John Roesler
56373353b1
race in test
2023-11-14 15:09:02 -06:00
John Roesler
8c628fae2d
add job name to event listners ( #621 )
...
* add job name to event listners
* missed the examples
* missed executor
2023-11-14 11:39:27 -06:00
John Roesler
66caa1aabe
fix logger test and locker test
2023-11-14 11:06:50 -06:00
John Roesler
7fea987137
add distributed locker for v2 ( #614 )
...
* add distributed locker for v2
* fix logger test
* enhance logger test
2023-11-14 09:56:05 -06:00
John Roesler
4a57125579
test all remaining With*, and test logger ( #609 )
2023-11-09 15:04:18 -06:00
John Roesler
6f9a8200f4
support go 1.20+ ( #608 )
2023-11-09 09:49:21 -06:00
John Roesler
584cd8aeca
elector test & makefile test coverage ( #605 )
2023-11-08 13:53:56 -06:00
John Roesler
ad26a71e0e
initial clean v2 commit history
2023-11-08 11:11:42 -06:00