Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide retry configuration? #91

Open
jbojcic1 opened this issue Nov 2, 2023 · 2 comments
Open

Provide retry configuration? #91

jbojcic1 opened this issue Nov 2, 2023 · 2 comments

Comments

@jbojcic1
Copy link

jbojcic1 commented Nov 2, 2023

Is it currently possible to set the retry configuration? The docs mention Retries and honors retry configuration (max attempts, max doublings, backoff) as one of the supported things but I don't see how. I also see some retry config code in the queue.go but still not sure if possible to configure it.

I am running it in docker container

@jbojcic1
Copy link
Author

jbojcic1 commented Nov 3, 2023

I don't have any go experience but looking more at the code it doesn't seem to be possible atm however, I am willing to create a PR to add support for this. Seems like something that should be added to createInitialQueue method to define the retry config. Could you please confirm?

Atm it's a bit annoying when you have some error and default retry config clutters up the entire log as it's doing too many retries

@yiweig
Copy link

yiweig commented Jul 18, 2024

@jbojcic1 not sure if you're still looking for a solution but I found an answer here: #101 (comment)

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

No branches or pull requests

2 participants