Commit c1e7a77
committed
fix: use cancellable task for external scores sync
spawn_background_processor_task is reserved for the single LDK
background processor. The external scores sync was incorrectly
using it, which caused a debug_assert panic when Node::start()
later tried to spawn the actual background processor.
Switch to spawn_cancellable_background_task which matches the
pattern used by other periodic background tasks (RGS sync, peer
reconnection, broadcast queue).1 parent 1cced75 commit c1e7a77
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments