Skip to content

Commit

Permalink
Set the default socket timeout (for Mac tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Oct 8, 2024
1 parent 43ad66e commit 6063bd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/run_tribler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import encodings.idna # noqa: F401 (https://github.com/pyinstaller/pyinstaller/issues/1113)
import logging.config
import os
import socket
import sys
import threading
import typing
Expand All @@ -19,6 +20,7 @@
from tribler.tribler_config import VERSION_SUBDIR, TriblerConfigManager

logger = logging.getLogger(__name__)
socket.setdefaulttimeout(0.5)


class Arguments(typing.TypedDict):
Expand Down

0 comments on commit 6063bd3

Please sign in to comment.