Skip to content

Commit 1bb3af0

Browse files
committed
slurmctld: update docs for the prolog/epilog timeout member change
1 parent d7423a5 commit 1bb3af0

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

pyslurm/core/slurmctld/config.pxd

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ cdef class Config:
285285
node when a Job completes.
286286
287287
{slurm.conf#OPT_Epilog}
288+
epilog_timeout (int):
289+
The interval in seconds Slurm waits for Epilog before terminating
290+
them.
291+
292+
{slurm.conf#OPT_EpilogTimeout}
288293
epilog_msg_time (int):
289294
The number of microseconds that the slurmctld daemon requires to
290295
process an epilog completion message from the slurmd daemons.
@@ -672,11 +677,11 @@ cdef class Config:
672677
it is asked to run a job step from a new job allocation.
673678
674679
{slurm.conf#OPT_Prolog}
675-
prolog_epilog_timeout (int):
680+
prolog_timeout (int):
676681
The interval in seconds Slurm waits for Prolog and Epilog before
677682
terminating them.
678683
679-
{slurm.conf#OPT_PrologEpilogTimeout}
684+
{slurm.conf#OPT_PrologTimeout}
680685
prolog_slurmctld (list[str]):
681686
List of pathnames of programs for the slurmctld daemon to execute
682687
before granting a new job allocation.

pyslurm/core/slurmctld/config.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,10 @@ cdef class Config:
457457
return cstr.to_list_with_count(self.ptr.epilog,
458458
self.ptr.epilog_cnt)
459459

460+
@property
461+
def epilog_timeout(self):
462+
return u16_parse(self.ptr.epilog_timeout)
463+
460464
@property
461465
def epilog_msg_time(self):
462466
return u32_parse(self.ptr.epilog_msg_time)
@@ -846,10 +850,6 @@ cdef class Config:
846850
def prolog_timeout(self):
847851
return u16_parse(self.ptr.prolog_timeout)
848852

849-
@property
850-
def epilog_timeout(self):
851-
return u16_parse(self.ptr.epilog_timeout)
852-
853853
@property
854854
def prolog_slurmctld(self):
855855
return cstr.to_list_with_count(self.ptr.prolog_slurmctld,

0 commit comments

Comments
 (0)