Attempt to fix broken pipe error
This commit is contained in:
parent
9328ebeecb
commit
a1e6cdcf29
2 changed files with 2 additions and 1 deletions
|
@ -293,7 +293,7 @@ class PlexCompanion(backgroundthread.KillableThread):
|
|||
subscription_manager,
|
||||
('', v.COMPANION_PORT),
|
||||
listener.MyHandler)
|
||||
httpd.timeout = 0.95
|
||||
httpd.timeout = 10.0
|
||||
break
|
||||
except Exception:
|
||||
LOG.error("Unable to start PlexCompanion. Traceback:")
|
||||
|
|
|
@ -37,6 +37,7 @@ RESOURCES_XML = ('%s<MediaContainer>\n'
|
|||
v.PLATFORM,
|
||||
v.PLATFORM_VERSION)
|
||||
|
||||
|
||||
class MyHandler(BaseHTTPRequestHandler):
|
||||
"""
|
||||
BaseHTTPRequestHandler implementation of Plex Companion listener
|
||||
|
|
Loading…
Reference in a new issue