diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-14 10:56:40 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-14 10:56:40 +0200 |
| commit | d5b4d728b05f68f713fa09edf47c253b869e0f88 (patch) | |
| tree | a21c3a159312c00da0351ac1cf00c9bf63139dfd /packages/meshbay-node/tests/test_chat_is_bounded.py | |
| parent | d4b37774118a2689c67b2ad802b9763f2ef448fd (diff) | |
| download | meshbay-d5b4d728b05f68f713fa09edf47c253b869e0f88.tar.gz | |
fix(node): a scan keeps its progress while a burst or a plug runs beside it
A watchdog burst wrote the indexer's single `progress` directly. A file
dropped into a folder during a large scan added its size to the scan's
total, then cleared `scanning` when its own hash finished, so the progress
went blank with hours of hashing left. Bursts now keep their own counters,
shown only while no whole-root walk runs.
A plug rescan took no scan lock and walked its root beside an added root's
scan, both resetting the same counters and reading the drive in turn. It
now waits for the lock, and skips the rescan if the root was ejected or
removed while it waited, since the rescan drops the entries before it walks.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T6jPTeocXA1BePekdsgPya
Diffstat (limited to 'packages/meshbay-node/tests/test_chat_is_bounded.py')
0 files changed, 0 insertions, 0 deletions