Skip to content

Commit

Permalink
Add retry to fetch_item
Browse files Browse the repository at this point in the history
Small mitigation for:
- Taxel#956
  • Loading branch information
glensc committed Jul 6, 2022
1 parent 3c476ab commit d573798
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plextraktsync/plex_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ def show_sections(self, library=None) -> List[PlexLibrarySection]:

@memoize
@nocache
@retry
def fetch_item(self, key: Union[int, str]) -> Optional[PlexLibraryItem]:
try:
media = self.plex.library.fetchItem(key)
Expand Down

0 comments on commit d573798

Please sign in to comment.