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

Use actively maintained backon to replace backoff #264

Open
Xuanwo opened this issue Sep 2, 2024 · 1 comment
Open

Use actively maintained backon to replace backoff #264

Xuanwo opened this issue Sep 2, 2024 · 1 comment
Labels
suggestion Suggestion from community

Comments

@Xuanwo
Copy link
Contributor

Xuanwo commented Sep 2, 2024

Hi, thanks for building async-openai. I'm starting this issue to discuss whether it's a good idea to replace backoff with the actively maintained backon. I noticed that this crate exposes backoff at the public API level. Therefore, I want to discuss it first before beginning any work.


BackON has now reached version 1.0 and has only one dependency. It can be used in both WebAssembly and no_std environments.

I'm willing to help perform the migration if you think it's cool.

@64bit
Copy link
Owner

64bit commented Sep 4, 2024

Hey, thank you for the offer to add support for backon, looks really nice project.

At the moment backoff gets the job done. However, it would be worth revisiting this in the future for WebAssembly and no_std environments. We can have this issue parked for now.

@64bit 64bit added the suggestion Suggestion from community label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Suggestion from community
Projects
None yet
Development

No branches or pull requests

2 participants