We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f413a25 commit e57e861Copy full SHA for e57e861
src/diem/utils.py
@@ -192,7 +192,7 @@ def wait_for_port(*args, **kwargs): # pyre-ignore
192
asyncio.run(async_wait_for_port(*args, **kwargs))
193
194
195
-async def async_wait_for_port(port: int, host: str = "localhost", timeout: float = 5.0) -> None:
+async def async_wait_for_port(port: int, host: str = "localhost", timeout: float = 15.0) -> None:
196
"""Wait for a port ready for accepting TCP connections.
197
Args:
198
port (int): port number.
0 commit comments