-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Respect timeout from server #1225
Comments
Probably easiest to change the PR welcome. |
that's not an issue. issue is in query. but probably makes sense for consistency. but any ideas why overwriting TIMEOUT had no effect? |
Because plexapi is importing python-plexapi/plexapi/server.py Line 9 in b783a56
|
What is your feature request?
Add support for
_server.timeout
being used instead (or addition to) global TIMEOUTPlexAPI may call
reload()
on property access, and that call is routed to server.query() which can only read the global TIMEOUT (because called with out timeout=xxx parameter):Seems the problem is that each query method takes own timeout parameter, or uses global:
and the global comes from config:
python-plexapi/plexapi/__init__.py
Line 20 in a7d29a3
Reported in:
Are there any workarounds?
Overwite the global
TIMEOUT
in__init__.py
. Ugly but likely will work.Code Snippets
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: