We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd319a commit 4f6db54Copy full SHA for 4f6db54
mypy/ipc.py
@@ -93,7 +93,7 @@ class IPCClient(IPCBase):
93
def __init__(self, name: str, timeout: Optional[int]) -> None:
94
super().__init__(name)
95
if sys.platform == 'win32':
96
- timeout = timeout or 1000 # we need to set a timeout
+ timeout = timeout or 0xFFFFFFFF # NMPWAIT_WAIT_FOREVER
97
try:
98
_winapi.WaitNamedPipe(self.name, timeout)
99
except FileNotFoundError:
0 commit comments