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

🚀 v3 Request: Add Throttle and Timeout with retry in client #2038

Closed
3 tasks done
sujit-baniya opened this issue Aug 21, 2022 · 1 comment · Fixed by #1986
Closed
3 tasks done

🚀 v3 Request: Add Throttle and Timeout with retry in client #2038

sujit-baniya opened this issue Aug 21, 2022 · 1 comment · Fixed by #1986

Comments

@sujit-baniya
Copy link
Contributor

Feature Description

While making requests with client, it might be essential to throttle the request based on the API Server bandwidth. So adding throttle Per Host.

Also API Server might take more time for request to complete. So timeout is required in this case. Since Retry is already implemented, timeout can be used with Retry

Additional Context (optional)

No response

Code Snippet (optional)

package main

import "github.com/gofiber/fiber/v2"
import "log"

func main() {
  app := fiber.New()

  // An example to describe the feature

  log.Fatal(app.Listen(":3000"))
}

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have checked for existing issues that describe my suggestion prior to opening this one.
  • I understand that improperly formatted feature requests may be closed without explanation.
@wangjq4214
Copy link
Member

I have some other work to do this week, and I will finish these features next week.

@wangjq4214 wangjq4214 added the v3 label Aug 21, 2022
@efectn efectn linked a pull request Aug 21, 2022 that will close this issue
27 tasks
@efectn efectn added this to the v3 milestone Aug 21, 2022
@ReneWerner87 ReneWerner87 added this to v3 Nov 22, 2023
@ReneWerner87 ReneWerner87 moved this to Todo in v3 Nov 22, 2023
@efectn efectn moved this from Todo to In Progress in v3 Jan 21, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in v3 Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants