Fixed: Changed sqlite to use full fsync on osx to reduce the chance of corruption at the cost of some performance.

pull/4/head
Taloth Saldono 10 years ago
parent 1837ba94cc
commit dea58ed663

@ -33,6 +33,11 @@ namespace NzbDrone.Core.Datastore
connectionBuilder.Pooling = true;
connectionBuilder.Version = 3;
if (OsInfo.IsOsx)
{
connectionBuilder.Add("Full FSync", true);
}
return connectionBuilder.ConnectionString;
}
}

Loading…
Cancel
Save