Commit 795e48b
committed
Indexing: Fix overlay race during index rebuild
- Remove the initial `saving_entries` event from `mod.rs` that raced with
the writer's `RebuildingIndex` event, overriding the phase back to
"Saving entries... 0%" during the 20–30s `RecreateNameIndex` operation
- Move `resetAggregation()` from scan-complete to scan-started so
`index-scan-complete` doesn't clear the writer's in-progress phase
- Update the rebuild hint from "Usually takes 2–3 minutes" to "Usually
less than a minute" to match actual prod timing1 parent 424eedb commit 795e48b
3 files changed
Lines changed: 2 additions & 14 deletions
File tree
- apps/desktop
- src-tauri/src/indexing
- src/lib/indexing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
573 | 573 | | |
574 | 574 | | |
575 | 575 | | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | | - | |
585 | | - | |
586 | | - | |
587 | | - | |
588 | 576 | | |
589 | 577 | | |
590 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments