83d1e50fd1
feat: hello again old logging friend
...
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
found a way to log late work error without race condition.
2022-05-17 13:43:58 +02:00
0679e992c7
fix: try to avoid potential race condition
...
in some situations it could try to write to a logger that doesnt exist
anymore. no logging but better than an race condition.
2022-05-17 13:28:58 +02:00
48fac0237a
fix!: closing errChan channel
...
it also check if context is canceld and if its so, it will not trying to
send to it work function error.
BREAKING CHANGE: it also takes now logr.Logger and stores it in the
Dispatcher
2022-05-17 13:22:18 +02:00
22edc0f9f5
feat: adds retry middleware
...
it retries work until ctx.Done chan receives something.
2022-03-29 11:42:17 +02:00
bcf20fb800
fix: removes own logger with caller
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-13 13:02:18 +01:00
b1d12f53b0
workgroups.NewDispatcher takes a queue size
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-07 13:55:22 +02:00
d34ef66014
docs: readme
2021-09-27 11:06:44 +02:00
1983b6bfd0
docs: readme
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
2021-09-27 11:03:38 +02:00
15e245d433
docs: readme
continuous-integration/drone/push Build is passing
2021-09-27 10:46:34 +02:00
15d8f9d5ce
Start doesnt take context no more. also use NewJob for creating workload
2021-09-27 10:44:58 +02:00
c9fd38c245
workgroups.NewDispatcher takes a context and not an sync.Errgroup
2021-09-25 14:38:47 +02:00
f121b05b58
repo: adds goreadme
continuous-integration/drone/push Build is failing
2021-09-24 18:29:05 +02:00
9ae39f59f5
added files
continuous-integration/drone/push Build is failing
2021-09-24 14:51:46 +02:00