Commit 623516f4 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor changes to the amount of time swapin/swapout/endexp should take,

as requested by Jay.
parent 7773b1e0
...@@ -152,7 +152,8 @@ else { ...@@ -152,7 +152,8 @@ else {
echo "Experiment `$exp_eid' in project `$exp_pid' is terminating!<br><br> echo "Experiment `$exp_eid' in project `$exp_pid' is terminating!<br><br>
You will be notified via email when the experiment has been torn You will be notified via email when the experiment has been torn
down, and you can reuse the experiment name. down, and you can reuse the experiment name.
This typically takes less than 5 minutes. This typically takes less than two minutes, depending on the
number of nodes in the experiment.
If you do not receive email notification within a reasonable amount If you do not receive email notification within a reasonable amount
of time, please contact $TBMAILADDR.\n"; of time, please contact $TBMAILADDR.\n";
} }
......
...@@ -154,10 +154,16 @@ if ($retval < 0) { ...@@ -154,10 +154,16 @@ if ($retval < 0) {
# #
echo "<br><br><h3>\n"; echo "<br><br><h3>\n";
if ($retval == 0) { if ($retval == 0) {
if (strcmp($inout, "in") == 0)
$howlong = "five to ten";
else
$howlong = "less than two";
echo "Experiment `$exp_eid' in project `$exp_pid' is swapping $inout. echo "Experiment `$exp_eid' in project `$exp_pid' is swapping $inout.
<br><br> <br><br>
You will be notified via email when the experiment has finished You will be notified via email when the experiment has finished
swapping. This typically takes 5-10 minutes. swapping. This typically takes $howlong minutes, depending on the
number of nodes in the experiment.
If you do not receive email notification within a reasonable amount If you do not receive email notification within a reasonable amount
of time, please contact $TBMAILADDR.\n"; of time, please contact $TBMAILADDR.\n";
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment