backoff library for backoff code #1460

Open
opened 2025-12-28 17:16:31 +00:00 by sami · 0 comments
Owner

Originally created by @roman-khimov on GitHub (Dec 20, 2024).

I'm always frustrated when we're not using small well-known libraries to simplify our own code.

Describe the solution you'd like

Block uploader has a backoff mechanism of its own, but likely it can be replaced with https://pkg.go.dev/github.com/cenkalti/backoff.

Describe alternatives you've considered

Keep it as is, works fine. But an easy to use backoff library can be reused in more places in future.

Additional context

#3582

Originally created by @roman-khimov on GitHub (Dec 20, 2024). ## Is your feature request related to a problem? Please describe. I'm always frustrated when we're not using small well-known libraries to simplify our own code. ## Describe the solution you'd like Block uploader has a backoff mechanism of its own, but likely it can be replaced with https://pkg.go.dev/github.com/cenkalti/backoff. ## Describe alternatives you've considered Keep it as is, works fine. But an easy to use backoff library can be reused in more places in future. ## Additional context #3582
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
nspcc-dev/neo-go#1460
No description provided.