Skip to content

Commit c586a68

Browse files
committed
flux: drop unnecessary timeout from Flux plugin
Problem: The 300s timeout in the spindle flux plugin may cause large jobs experiencing slow startup to fail unnecessarily. Drop this timeout as unnecessary since the `shell.init` event is guaranteed to come at some point or the job will be timed out in some other manner.
1 parent 2532723 commit c586a68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/flux/flux-spindle.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ static int sp_init (flux_plugin_t *p,
649649
* rank 0, but code is simpler if we treat all ranks the same.
650650
*/
651651
if (!(f = flux_job_event_watch (h, id, "guest.exec.eventlog", 0))
652-
|| flux_future_then (f, 300., wait_for_shell_init, ctx) < 0)
652+
|| flux_future_then (f, -1., wait_for_shell_init, ctx) < 0)
653653
shell_die (1, "flux_job_event_watch");
654654

655655
/* Return control to job shell */

0 commit comments

Comments
 (0)