Skip to content
This repository has been archived by the owner on Oct 13, 2024. It is now read-only.

Commit

Permalink
fix: disable auto-reload since it is not needed and only harms perf
Browse files Browse the repository at this point in the history
  • Loading branch information
zdimension committed Nov 8, 2023
1 parent 45ce809 commit e9259dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Contents/Code/plex_api_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@

q = queue.Queue()

# disable auto-reload, because Themerr doesn't rely on it, so it will only slow down the app
# when accessing a missing field
os.environ["PLEXAPI_PLEXAPI_AUTORELOAD"] = "false"

# the explicit IPv4 address is used because `localhost` can resolve to ::1, which `websocket` rejects
plex_url = 'http://127.0.0.1:32400'
Expand Down

0 comments on commit e9259dd

Please sign in to comment.