allusion-app/Allusion

[FR] option to refresh/reindex Locations individually

cannibalox opened this issue · 1 comments

This is a Feature Request to enable the user to refresh / reindex a single location (either via a right click context menu or with a small refresh icon near each location).
When a user has many different locations with lots of files in each of them, it can be very long to refresh all locations in one pass.
My use-case : I have an inbox folder which gets updated very often, I would like to refresh this specific location at will (when a new file is imported), then if I move files from the inbox to another Location, I would like to trigger a refresh on these specific folders only, to get the result more quickly.

Having the same problem. Ive tried stress testing Allusion to figure out its performance and around how many files i could run with it but its been tricky- i can add locations and handle apparently a lot of files, but then upon starting the 'checking for new files' parsing all folders ends up crashing Allusion

I would personally have 1-3 folders realtime watched at most- probably 2, a general inbox used with other apps and a downloads to use with the extension.

Everything else i wouldnt ever need real-time watching and verifying on every startup

I think Allusion could update its database side upon user changes; If 3 files are deleted then it updates the db for only the 3 files, same with tags and so on. Changes made outside of it (moving files, deleting, renaming) would just prompt the missing file- in wich case the user could change a folder to watched/realtime as needed or simply do a single update to 1 folder.

Also i imagine the extreme high ram usage is coming from watching for folder changes in realtime, on all folders all the time.
My run with allusion is hiting like 5gb of ram all the time, about 3 times as much as any other alternatives, also higher then when i have 3 windows +20 tabs each in chrome

My suggestion:
Watchedlooking glass or open eye icon
Folders that are updated in realtime with any changes
-right clicking on folder option to watch/unwatch folder
Update/refresh option
A button in the ui to 'refresh everything', and a option via righ-click on a folder 'update/refresh this folder'
Update/refresh would do a single parse for changes in a folder (or everything), updating any changes without the realtime factor. Per demand.
Startup Setting: Refresh All Startup
A toggle in the settings, if turned off disabling the 'checking for new files' on every startup.
The setting window could explain that watched folders(realtime watched) are always updated on startup regardless of this option.