Skip to content

Added exponential backoff#387

Merged
gurgunday merged 10 commits intofastify:masterfrom
aniketcodes:feature-exponential_backoff
Nov 15, 2024
Merged

Added exponential backoff#387
gurgunday merged 10 commits intofastify:masterfrom
aniketcodes:feature-exponential_backoff

Conversation

@aniketcodes
Copy link
Copy Markdown
Contributor

This PR adds the capability to add exponential backoff.
#279

Checklist

Uzlopak
Uzlopak previously requested changes Nov 4, 2024
Copy link
Copy Markdown
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont like it somehow. Blocking it so that i can think about it in a free minute.

Co-authored-by: Gürgün Dayıoğlu <hey@gurgun.day>
Signed-off-by: Aniket Sinha <aniketsinha1304@gmail.com>
Co-authored-by: Gürgün Dayıoğlu <hey@gurgun.day>
Signed-off-by: Aniket Sinha <aniketsinha1304@gmail.com>
@aniketcodes aniketcodes requested a review from gurgunday November 4, 2024 10:23
Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than a final nit

@aniketcodes aniketcodes requested a review from gurgunday November 4, 2024 13:59
@aniketcodes
Copy link
Copy Markdown
Contributor Author

Hi @gurgunday , @Uzlopak I have updated the lua script to make the ttl resetting consistent incase of continueExceeding and exponentialBackoff

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, @Uzlopak might have some other ideas to implement this though

@aniketcodes
Copy link
Copy Markdown
Contributor Author

@Uzlopak Can you suggest a better approach for this?

@gurgunday gurgunday requested review from a team and climba03003 November 11, 2024 09:23
@Uzlopak
Copy link
Copy Markdown
Contributor

Uzlopak commented Nov 11, 2024

Will review it today :)

Co-authored-by: Frazer Smith <frazer.dev@icloud.com>
Signed-off-by: Aniket Sinha <aniketsinha1304@gmail.com>
@aniketcodes aniketcodes requested a review from Fdawgs November 12, 2024 13:33
@aniketcodes
Copy link
Copy Markdown
Contributor Author

@Uzlopak @climba03003 @Fdawgs Guys, can you please review?

@Uzlopak Uzlopak dismissed their stale review November 15, 2024 09:20

I trust in this gurgunday

Copy link
Copy Markdown
Member

@Fdawgs Fdawgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs wise it lgtm

Co-authored-by: Gürgün Dayıoğlu <hey@gurgun.day>
Signed-off-by: Aniket Sinha <aniketsinha1304@gmail.com>
@aniketcodes
Copy link
Copy Markdown
Contributor Author

Done @gurgunday

@gurgunday gurgunday merged commit 93ad9b2 into fastify:master Nov 15, 2024
@gurgunday
Copy link
Copy Markdown
Member

Thanks for the PR and taking the time to address the feedback

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.

4 participants