We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44217eb commit da92a5dCopy full SHA for da92a5d
src/event.rs
@@ -312,6 +312,7 @@ impl ldk_events::EventHandler for LdkLiteEventHandler {
312
let min = time_forwardable.as_millis() as u64;
313
314
// TODO: any way we still can use tokio here?
315
+ // TODO: stop this thread on shutdown
316
thread::spawn(move || {
317
let millis_to_sleep = thread_rng().gen_range(min..min * 5) as u64;
318
thread::sleep(Duration::from_millis(millis_to_sleep));
0 commit comments