1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-22 22:15:17 -04:00

less intrusive cache prevention.

more tests.
This commit is contained in:
kay.one
2013-02-02 12:22:46 -08:00
parent 5dbaaee005
commit 9f829c1442
9 changed files with 131 additions and 177 deletions
@@ -0,0 +1,15 @@
using System.Linq;
using Db4objects.Db4o.Internal;
using Db4objects.Db4o.Internal.References;
namespace NzbDrone.Core.Datastore
{
public class NoCacheReferenceSystem : HashcodeReferenceSystem
{
public override ObjectReference ReferenceForId(int id)
{
//never return an in memory instance of objects as query result. always go to db.
return null;
}
}
}