Skip to content
Snippets Groups Projects
Commit 3f05b2a0 authored by Morris Jette's avatar Morris Jette
Browse files

burst_buffer/cray: Change some timeouts

parent 42d958db
No related branches found
No related tags found
No related merge requests found
......@@ -118,13 +118,13 @@ By default, users can view all burst buffers.
If the stage in of files for a job takes more than this number of seconds,
the burst buffer will be released and the job will be placed in a held state.
A Slurm administrator will be required to release the job.
By default there is no timeout of the stage in process.
By default there is a one day timeout of the stage in process.
.TP
\fBStageOutTimeout\fR
If the stage out of files for a job takes more than this number of seconds,
the burst buffer will be released and the job will be purged.
By default there is no timeout of the stage out process.
By default there is a one day timeout of the stage out process.
.TP
\fBStartStageIn\fR
......
......@@ -1308,7 +1308,7 @@ static void *_start_stage_in(void *x)
if (stage_args->timeout)
timeout = stage_args->timeout * 1000;
else
timeout = 10000;
timeout = 60 * 60 * 1000; /* 3600 secs == 1 hour */
op = "setup";
START_TIMER;
resp_msg = bb_run_script("setup",
......@@ -1527,7 +1527,7 @@ static void *_start_stage_out(void *x)
if (stage_args->timeout)
timeout = stage_args->timeout * 1000;
else
timeout = 10000;
timeout = 60 * 60 * 1000; /* 3600 secs == 1 hour */
op = "dws_post_run";
START_TIMER;
xfree(resp_msg);
......@@ -1683,7 +1683,7 @@ static void *_start_teardown(void *x)
if (teardown_args->timeout)
timeout = teardown_args->timeout * 1000;
else
timeout = 10000;
timeout = 60 * 60 * 1000; /* 3600 secs == 1 hour */
resp_msg = bb_run_script("teardown",
bb_state.bb_config.get_sys_state,
teardown_argv, timeout, &status);
......
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