Adriano Caloiaro
2e0dd6b768
chore(deps): remove exp/slog in favor of log/slog
2025-02-13 10:24:08 -07:00
Adriano Caloiaro
a6f7fbcd36
feat: Add public jobs.WithJobContext()
2024-06-07 07:22:07 -07:00
Adriano Caloiaro
0105403be9
feat: add support for recovery callbacks
2024-04-16 13:52:54 -06:00
Adriano Caloiaro
7798b35827
Fix lints
2024-01-26 09:21:05 -07:00
Elliot Courant
e6ece3c568
chore(log): Tweaking logging again, making everything consistent ( #101 )
2023-11-06 15:07:46 -06:00
Adriano Caloiaro
845f96afda
fix: memory backend does not respect MaxRetries
...
Fixes #87
2023-10-05 10:40:08 -06:00
Adriano Caloiaro
5f01b4e8f1
fix: Fix naked return in memory backend StartCron
2023-09-17 00:15:19 +02:00
Adriano Caloiaro
d66905fadd
feat: ensure memory backend exits gracefully during Shutdown()
2023-09-17 00:15:19 +02:00
Adriano Caloiaro
69f57ca26a
feat: Disallow adding items to the unnamed queue
2023-09-17 00:15:19 +02:00
Adriano Caloiaro
23098bcdc5
break: Move queue name into Handler
...
This goal of this change is to simplify the API. Handlers and queues
have a 1:1 mapping, so functions that receive both a `queue` and a
`handler` take two parameters when they could take only one.
2023-09-17 00:15:19 +02:00
Adriano Caloiaro
20f5b139b5
break: Rename types.Backend -> neoq.Neoq
2023-09-07 12:36:02 +02:00
Adriano Caloiaro
72594867e5
Support job deadlines
...
Fixes #52
2023-08-28 20:01:21 +02:00
Adriano Caloiaro
631c508813
Fix memory backend support for multiple queues
...
Fixes #56
2023-08-20 10:16:45 -06:00
c237f31b4e
Fix slog API change issue
2023-07-17 07:54:22 -06:00
d68db7b442
Add log level to redis and memory backends ( #50 )
2023-05-02 20:46:04 -06:00
aaed37eeb5
Add redis support ( #44 )
2023-04-14 19:11:22 -06:00
d8c637852c
Remove add multiple handlers per queue ( #42 )
2023-04-01 17:36:07 -07:00
d47845d573
Make JobWithContext private
2023-03-21 09:54:08 -07:00
900893d14c
Mem: Add multiple handlers per queue
2023-03-18 16:13:23 -07:00
eb430e9444
Acquire a new connection for every queue listener ( #38 )
2023-03-18 09:52:48 -07:00
07a336a397
Make handler context vars backend agnostic ( #37 )
2023-03-17 08:53:16 -07:00
784ea57578
increase test coverage over memory backend
2023-03-09 11:03:37 -07:00
5b6620927e
Move backends to separate packages
2023-03-01 10:34:27 -07:00