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

pull/6/head
Taloth Saldono 10 years ago
parent ebb2b12400
commit aa36c04d56

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

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

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

@ -70,8 +70,8 @@
</label> </label>
<span class="help-inline-checkbox"> <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-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 currently seeding. Temporarily disable seeding while using the Rename UI to rename existing episodes to work around it."/> <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> </span>
</div> </div>
</div> </div>

Loading…
Cancel
Save