diff --git a/couchpotato/core/providers/base.py b/couchpotato/core/providers/base.py index d9641dd5..99d59328 100644 --- a/couchpotato/core/providers/base.py +++ b/couchpotato/core/providers/base.py @@ -29,9 +29,9 @@ class Provider(Plugin): log.debug('Getting cache %s' % cache_key) return cache - def setCache(self, cache_key, value): + def setCache(self, cache_key, value, timeout = 300): log.debug('Setting cache %s' % cache_key) - Env.get('cache').set(cache_key, value) + Env.get('cache').set(cache_key, value, timeout) def isAvailable(self, test_url):