Skip to content

Commit 400303a

Browse files
committed
ipc: Bug fix - not using timeout in .ipc.connectWithTimeout [#27]
1 parent 32f768f commit 400303a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ipc.q

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
.log.info "Attempting to connect to ",logHostPort," (timeout ",string[timeout]," ms)";
9696

97-
h:@[hopen;hostPort;{ (`CONN_FAIL;x) }];
97+
h:@[hopen; (hostPort; timeout); { (`CONN_FAIL;x) }];
9898

9999
if[`CONN_FAIL~first h;
100100
.log.error "Failed to connect to ",logHostPort,". Error - ",last h;

0 commit comments

Comments
 (0)