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

Building an in-built retryMax Middleware in Echo #2507

Open
3 tasks done
kitarp29 opened this issue Aug 16, 2023 · 0 comments
Open
3 tasks done

Building an in-built retryMax Middleware in Echo #2507

kitarp29 opened this issue Aug 16, 2023 · 0 comments

Comments

@kitarp29
Copy link

Issue Description

I am building a Project of my own in Echo.
And I wanted to make it "Production ready":

But to my surprise this functionality is not in-built in Echo.
Express in NodeJS has this in-built!
Example:

app.use(retryMax({
  maxAttempts: 5, 
  minTimeout: 1000, 
  maxTimeout: 5000 
}));

For now I am building an implementation of my own.
But it would be great if it is a part of this framework!
I can work on if it needed!

Checklist:

  • Dependencies installed
  • No typos
  • Searched existing issues and docs

Expected behaviour

NA

Actual behaviour

NA

Steps to reproduce

NA

Working code to debug

NA

package main

func main() {
}

Version/commit

Well any version

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

1 participant