-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
I think there's a major flaw here -- I'm seeing a situation where the first Network.Socket.connect call hangs indefinitely. When this happens, the overall retry loop and timeout doesn't work.
The README mentions the wait-for project -- you'll notice that script includes a timeout on the individual connect requests such as the -w 1 parameter here.
I think the solution is to wrap each connect attempt in a call to System.Timeout.timeout, but I'm not confident that will work because it may be blocking in FFI code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels