Commit 9856ecf
committed
refactor(audience-sdk): name consent-sync retry budgets
Replaces the inline 4-attempt cap and 1-second base retry on the consent-sync PUT retry loop with
named constants on ImmutableAudience so the budget is visible at the top of the class and a tuning
change touches one place.
- ImmutableAudience.cs: adds ConsentSyncMaxAttempts (4) and ConsentSyncBaseRetryMs (1000).
- ImmutableAudience.cs: SyncConsentLevel uses ConsentSyncMaxAttempts and ConsentSyncBaseRetryMs in
the 429 retry loop.1 parent 6264a15 commit 9856ecf
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
625 | 631 | | |
626 | 632 | | |
627 | 633 | | |
628 | | - | |
629 | | - | |
630 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
631 | 637 | | |
632 | 638 | | |
633 | 639 | | |
| |||
644 | 650 | | |
645 | 651 | | |
646 | 652 | | |
647 | | - | |
| 653 | + | |
648 | 654 | | |
649 | 655 | | |
650 | 656 | | |
| |||
0 commit comments