Repository navigation
feat: [OCISDEV-1032] ldap config and retry policy - #673
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| "fmt" | ||
| "time" | ||
|
|
||
| backoff "github.com/cenkalti/backoff" |
There was a problem hiding this comment.
What version of backoff are we using here?
There was a problem hiding this comment.
No version suffix is v2 based on go.mod
There was a problem hiding this comment.
Any reason to use such an old version?
There was a problem hiding this comment.
No, it was pulled by default from go.mod, bumped to v5
Correctness1. Exhaustion masks the real error code (behavioral regression for the new codes). 2. 3. Backoff collapses to zero when |
Thank you, good points. Added tests and fixes for these in latest commit
|
* feat: [OCISDEV-1032] ldap config and retry policy (#673) * feat: ldap config and retry policy * feat: remove unused functions * feat: use cenkalti/backoff/v5 * feat: tests + fixes for review * feat: harden LDAP retry (#678) * feat: harden ldap retry * fix: Retry LDAP operations that fail while sending the request --------- Co-authored-by: Roman Perekhod <[email protected]> --------- Co-authored-by: Roman Perekhod <[email protected]>
* feat: [OCISDEV-1032] ldap config and retry policy (#673) * feat: ldap config and retry policy * feat: remove unused functions * feat: use cenkalti/backoff/v5 * feat: tests + fixes for review * feat: harden LDAP retry (#678) * feat: harden ldap retry * fix: Retry LDAP operations that fail while sending the request --------- Co-authored-by: Roman Perekhod <[email protected]> --------- Co-authored-by: Roman Perekhod <[email protected]>
* feat: ldap config and retry policy * feat: remove unused functions * feat: use cenkalti/backoff/v5 * feat: tests + fixes for review
* feat: [OCISDEV-1032] ldap config and retry policy (#673) * feat: ldap config and retry policy * feat: remove unused functions * feat: use cenkalti/backoff/v5 * feat: tests + fixes for review * feat: harden LDAP retry (#678) * feat: harden ldap retry * fix: Retry LDAP operations that fail while sending the request --------- Co-authored-by: Roman Perekhod <[email protected]> * feat: trim long comments --------- Co-authored-by: Roman Perekhod <[email protected]>
No description provided.