Skip to content

Building an in-built retryMax Middleware in Echo #2507

@kitarp29

Description

@kitarp29

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions