conaticus / FileExplorer

Fast file explorer written with Tauri and React.
GNU General Public License v2.0
926 stars 69 forks source link

Freeze on loading #62

Closed PotatoSUS closed 1 year ago

PotatoSUS commented 1 year ago

infinite loading 🔥 image

ismi-abbas commented 1 year ago

My drives indexing time. image

grayfallstown commented 1 year ago

I think it should not wait for the index to build before you can access files. Search could block until the index is build or depending how the index is build (first load all files vs add each file to index as soon as it is found) it could show results of what is currently in the index and update the view with new matches as the index is being build up. refs #17

RaphGL commented 1 year ago

I think the reason you're having an infinite load is due to this issue https://github.com/conaticus/FileExplorer/issues/41 if you look at filesystem/cache.rs:133 you can see that the cache has a 60 second interval before a new recaching is started, this means the frontend never gets the volumes it needs to know about and you're stuck on an infinite loop (filesystem/volume.rs:124)