Skip to content
Snippets Groups Projects
Commit e5e5749c authored by Moe Jette's avatar Moe Jette
Browse files

Increase interval of periodic schedule() calls from 30 to 60 seconds.

parent cb487d5d
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
/* Attempt to schedule jobs every PERIODIC_SCHEDULE seconds despite /* Attempt to schedule jobs every PERIODIC_SCHEDULE seconds despite
* any RPC activity. This will catch any state transisions that may * any RPC activity. This will catch any state transisions that may
* have otherwise been missed */ * have otherwise been missed */
#define PERIODIC_SCHEDULE 30 #define PERIODIC_SCHEDULE 60
/* Check for jobs reaching their time limit every PERIODIC_TIMEOUT seconds */ /* Check for jobs reaching their time limit every PERIODIC_TIMEOUT seconds */
#define PERIODIC_TIMEOUT 60 #define PERIODIC_TIMEOUT 60
...@@ -629,6 +629,14 @@ extern bool job_epilog_complete(uint32_t job_id, char *node_name, ...@@ -629,6 +629,14 @@ extern bool job_epilog_complete(uint32_t job_id, char *node_name,
/* job_fini - free all memory associated with job records */ /* job_fini - free all memory associated with job records */
extern void job_fini (void); extern void job_fini (void);
/*
* job_is_completing - Determine if jobs are in the process of completing.
* RET - True of any job is in the process of completing
* NOTE: This function can reduce resource fragmentation, which is a
* critical issue on Elan interconnect based systems.
*/
extern bool job_is_completing(void);
/* /*
* job_signal - signal the specified job * job_signal - signal the specified job
* IN job_id - id of the job to be signaled * IN job_id - id of the job to be signaled
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment