Skip to content

Commit 06ef1d6

Browse files
committed
Use 30 min timeouts to avoid connection errors when pausing for a few mins
1 parent 2b7af4d commit 06ef1d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dlna.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ class DLNAHandler(BaseHTTPRequestHandler):
6464
fast = False # Fast mode flag to disable subprocess calls
6565

6666
def __init__(self, *args, **kwargs):
67-
# Set default timeout for socket operations (5 minutes)
68-
self.timeout = 300
67+
# Set default timeout for socket operations (30 minutes)
68+
self.timeout = 1800
6969
# Initialize directory mapping attribute
7070
self.directory_mapping = None
7171
try:

0 commit comments

Comments
 (0)