diff --git a/stream_fusion/settings.py b/stream_fusion/settings.py index 7d37d91..d08748a 100644 --- a/stream_fusion/settings.py +++ b/stream_fusion/settings.py @@ -20,9 +20,9 @@ class LogLevel(str, enum.Enum): class DebridService(str, enum.Enum): """Possible debrid services.""" - RD = "RD" - AD = "AD" - TB = "TB" + RD = "Real-Debrid" + AD = "AllDebrid" + TB = "TorBox" class NoCacheVideoLanguages(str, enum.Enum): diff --git a/stream_fusion/web/root/search/views.py b/stream_fusion/web/root/search/views.py index 67af062..e1b7de2 100644 --- a/stream_fusion/web/root/search/views.py +++ b/stream_fusion/web/root/search/views.py @@ -316,7 +316,7 @@ def stream_processing(search_results, media, config): stream_list = stream_processing(search_results, media, config) streams = [Stream(**stream) for stream in stream_list] - await redis_cache.set(stream_cache_key(media), streams, expiration=3600) + await redis_cache.set(stream_cache_key(media), streams, expiration=1200) total_time = time.time() - start logger.info(f"Search: Request completed in {total_time:.2f} seconds") return SearchResponse(streams=streams)