[feature] Indexer status (#11706)

Co-authored-by: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com>
This commit is contained in:
Alessio Gogna
2021-06-24 04:37:27 +02:00
committed by GitHub
parent e1704e6037
commit b9c3f593da
9 changed files with 173 additions and 2 deletions

View File

@@ -177,6 +177,8 @@ namespace Jackett.Common.Services
}
}
public TimeSpan CacheTTL => TimeSpan.FromSeconds(_serverConfig.CacheTtl);
private bool IsCacheEnabled()
{
if (!_serverConfig.CacheEnabled)