Commit 94d4bc3
[plumb] Add forced async invoice refresh selection
Async receive offers currently decide static invoice refreshes from
timer-based freshness only. Channel changes need a separate selector so
callers can rebuild server-side invoices without waiting for the normal age
threshold.
Add a cache helper that returns used and pending offers for forced invoice
refresh. Ready offers stay on the existing offer rotation path because they
have not been returned to the application yet.
AI-assisted: planning and writing commit
Co-Authored-By: OpenAI Codex <codex@openai.com>1 parent 9df5c9d commit 94d4bc3
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
472 | 498 | | |
473 | 499 | | |
474 | 500 | | |
| |||
0 commit comments