Spike,
I have a setup similar to yours and faced the same frustration when my NAS was turned off. It can be very annoying to be interrupted constantly by long timeouts (10 seconds and more) while MC is frozen in the foreground not allowing user interaction.
Here is a workaround that I got from user "zybex" here from the forum. Kudos to zybex!
Idea is to have your NAS name resolution pointing to 127.0.0.1 to trick MC to think your NAS is indeed your own localhost - this of course while your NAS is powered down. If your NAS is up then the mapping NAS to 127.0.0.1 should not exist.
If you are on a Windows system, do this:
1. Download and install "Hosts File Editor" from:
https://github.com/scottlerch/HostsFileEditor/releases (download the .msi file)
2. Start "Hosts File Editor" - check icon on the notification area (those little icons in the taskbar close to the clock)
Note that any app that changes the „hosts“ file needs „Admin“ privilege so be sure to allow it on the UAC prompt that appears.
3. Press "Edit" and add a line where "IP Address" is 127.0.0.1 and "Host names" is <YOUR NAS NAME>
4. Press Save.
Now use MC and check if the "timing outs" as you describe are gone.
For extra credit, you can use the function "Disable Hosts File" and swap between:
- having the workaround in place (when your NAS is down)
- not having the workaround in place (when your NAS is up)
It is easily accessible with the right mouse button on the application's icon in the notification area.
All what is above is a workaround.
As for the original problem, a solution can only come from the devs. Probably MC's code is waiting synchronously from an ioctl() or similar operation to finish. It is actually not checking to access a particular file. It is checking if the host is up or not. Maybe the devs can confirm how it is exactly implemented. Would changing to wait asynchronously be a solution and we would not see the timeouts affecting user experience? Only the devs can test and check if that's the solution.
In the meantime, enjoy the workaround.
Thanks to zybex one more time!
xpto