-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix blocking when listing or entering a network location with an
inaccessible host. A mounted network directory with a down host will cause stat to block for 10 seconds before reporting failure. In nemo, if that location is bookmarked, it can cause multiple freezes at startup. --- This is not a perfect fix - I don't think one is possible at the application level. Nemo will now check if a target's path is descended from a mounted network connection, and skip any operation involving stat. pros: - Nemo will no longer freeze at startup due a 'dangling' network mount. - Clicking on the bookmark will no longer freeze, but if the folder hasn't been explicitly accessed yet, there will be a delay of about 10s, then an error popup. Subsequent clicks will cause the error immediately. - Navigating to the folder's parent directory will *always* cause a 10s delay in loading that folder. The file list will not include the bad directory. con: - The places-sidebar will always show any bookmarked network folder as available/online (no triangle warning icon), whether actually available or not. ref: #3270 (maybe?), #3436, #1378.
- Loading branch information
Showing
4 changed files
with
94 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fb47200
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this. Might I ask the following? What happens if the down host comes back up? ('Subsequent clicks will cause the error immediately.')