mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-05 06:09:57 -05:00
FileWorker: Async queue-based file synchronization system
Introduces FileWorker for background file operations with dual-queue architecture (public/private). Handles refresh, move, and rename tasks with progress tracking, job completion monitoring, and batch processing. Compares DB FileGroups to filesystem state using FileGroupDiff to detect new/modified/deleted files. Designed for memory efficiency on Raspberry Pi.
This commit is contained in:
parent
1d9b794fca
commit
173284699d
49 changed files with 4256 additions and 861 deletions
|
|
@ -783,7 +783,7 @@ export const useFilesProgress = () => {
|
|||
export const useFilesProgressInterval = () => {
|
||||
const {progress, fetchFilesProgress} = useFilesProgress();
|
||||
|
||||
useRecurringTimeout(fetchFilesProgress, 1000 * 3);
|
||||
useRecurringTimeout(fetchFilesProgress, 1000);
|
||||
|
||||
return {progress, fetchFilesProgress};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue