Use timer with Duration::MAX to replace spawning::pending so timer types are consistent

This commit is contained in:
Nathan Sobo
2025-09-04 22:52:07 -06:00
parent eaeceed5b3
commit 45d299a717

View File

@@ -331,7 +331,7 @@ impl ExtensionStore {
load_initial_extensions.await;
let mut index_changed = false;
let mut debounce_timer = cx.background_executor().timer(Duration::default()).fuse();
let mut debounce_timer = cx.background_executor().timer(Duration::MAX).fuse();
loop {
select_biased! {
_ = debounce_timer => {