Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/src/commit/098036d49ad15ebd5fed452966e071de4f2de9e2/NzbDrone.Common/Cache/CacheManger.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Readarr/NzbDrone.Common/Cache/CacheManger.cs

22 lines
489 B

using System;
using NzbDrone.Common.EnsureThat;
namespace NzbDrone.Common.Cache
{
public static class CacheManger
{
private static readonly ICached<object> Cache;
static CacheManger()
{
Cache = new Cached<object>();
}
public static ICached<T> GetCache<T>(Type type)
{
Ensure.That(() => type).IsNotNull();
return (ICached<T>)Cache.Get(type.FullName, () => new Cached<T>());
}
}
}