Skip to content

Conversation

@cscatolini
Copy link

This PR adds some improvements to the retry middleware implemented.

  1. Allow configuring retry exponential backoff by using RetryOptions struct in EnqueueOptions
  2. Add RetryMax field: even though Retry can be either a bool or an int (when processing the job), the EnqueueOptions struct specifies it as a bool, so the maximum number of retries is always set to the default value of 25. RetryMax field allows specifying a custom maximum number of retries.

@andrehp
Copy link

andrehp commented Jan 19, 2018

Any updates on merging this improvement?

@hcliff
Copy link

hcliff commented Apr 4, 2018

any updates on this?

Luiz Felipe Takakura and others added 8 commits July 13, 2018 17:16
Enqueue jobs in multiple redis instances
stats refactor to return struct
- Use log levels (fatal, debug, error, info and warn)
- Allow structured logging (uses logrus by default)
- Change logging middleware logs to debug
- A few tweaks in some log messages, specially errors
tkuchiki added a commit to tkuchiki/go-workers that referenced this pull request Aug 25, 2020
@fcarrero
Copy link

any update about it ?

tobiasbu added 2 commits April 1, 2024 10:24
* Update project setup
* Update deprecated Redis package to the new one
* Change the worker configuration options
* Adjust test to improve logs traceability
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants