Skip to content

Commit

Permalink
Reduce ratings cache to 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 1, 2025
1 parent 3db9134 commit 7ec1549
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plextraktsync/config/HttpCacheConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ class HttpCacheConfig:
"api.trakt.tv/users/*/collection/movies?extended=metadata": "10s",
"api.trakt.tv/users/*/collection/movies": DO_NOT_CACHE,
"api.trakt.tv/users/*/collection/shows": "1m",
"api.trakt.tv/users/*/ratings/episodes": "1m",
"api.trakt.tv/users/*/ratings/shows": "1m",
"api.trakt.tv/users/*/ratings/movies": "1m",
"api.trakt.tv/users/*/ratings/episodes": "10s",
"api.trakt.tv/users/*/ratings/shows": "10s",
"api.trakt.tv/users/*/ratings/movies": "10s",
# Trakt search urls
"api.trakt.tv/search/imdb/tt*?type=movie": "1d",
"api.trakt.tv/search/imdb/tt*?type=show": "1d",
Expand Down

0 comments on commit 7ec1549

Please sign in to comment.