Commit Graph

8 Commits

Author SHA1 Message Date
83d1e50fd1 feat: hello again old logging friend
All checks were successful
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
b1d12f53b0 workgroups.NewDispatcher takes a queue size
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-10-07 13:55:22 +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
9ae39f59f5 added files
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-24 14:51:46 +02:00