Defaulted hardlink to false again after an internal debate regarding some Windows peculiarities.

This commit is contained in:
Taloth Saldono 2014-11-20 23:34:48 +01:00
parent ebb2b12400
commit aa36c04d56
4 changed files with 7 additions and 5 deletions

View File

@ -214,7 +214,7 @@ namespace NzbDrone.Core.Configuration
public Boolean CopyUsingHardlinks
{
get { return GetValueBoolean("CopyUsingHardlinks", true); }
get { return GetValueBoolean("CopyUsingHardlinks", false); }
set { SetValue("CopyUsingHardlinks", value); }
}

View File

@ -160,8 +160,9 @@ namespace NzbDrone.Mono
UnixFileSystemInfo.GetFileSystemEntry(source).CreateLink(destination);
return true;
}
catch
catch (Exception ex)
{
Logger.DebugException(String.Format("Hardlink '{0}' to '{1}' failed.", source, destination), ex);
return false;
}
}

View File

@ -110,8 +110,9 @@ namespace NzbDrone.Windows
{
return CreateHardLink(destination, source, IntPtr.Zero);
}
catch
catch (Exception ex)
{
Logger.DebugException(String.Format("Hardlink '{0}' to '{1}' failed.", source, destination), ex);
return false;
}
}

View File

@ -70,8 +70,8 @@
</label>
<span class="help-inline-checkbox">
<i class="icon-nd-form-info" title="Use Hardlinks when trying to copy files from seeding torrents"/>
<i class="icon-nd-form-warning" title="Occasionally, file locks may prevent renaming files that are currently seeding. Temporarily disable seeding while using the Rename UI to rename existing episodes to work around it."/>
<i class="icon-nd-form-info" title="Use Hardlinks when trying to copy files from torrents that are still being seeded"/>
<i class="icon-nd-form-warning" title="Occasionally, file locks may prevent renaming files that are being seeded. You may temporarily disable seeding and use Sonarr's rename function as a work around."/>
</span>
</div>
</div>