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.
2 parents b0cdac8 + 08e458d commit a852aa0Copy full SHA for a852aa0
src/lib/Libifl/tm.c
@@ -1387,7 +1387,8 @@ tm_register(tm_whattodo_t *what, tm_event_t *event)
1387
return TM_ENOTIMPLEMENTED;
1388
}
1389
1390
-#define FOREVER 2592000
+#define FOREVER 2592000
1391
+#define INITIALPOLLTIMEOUT 5
1392
1393
/*
1394
** tm_poll - poll to see if an event has been completed.
@@ -1478,7 +1479,7 @@ int tm_poll(
1478
1479
** Setup tcp dis routines with a wait value appropriate for
1480
** the value of wait the user set.
1481
*/
- pbs_tcp_timeout = wait ? FOREVER : 1;
1482
+ pbs_tcp_timeout = wait ? INITIALPOLLTIMEOUT : 1;
1483
1484
prot = disrsi(static_chan, &ret);
1485
0 commit comments