Commit b714591f authored by Leigh Stoller's avatar Leigh Stoller

And now another little batch dequeue fix.

parent b2421e71
......@@ -528,10 +528,10 @@ else {
# to yank it from the queue.
#
if ($batchstate ne BATCHSTATE_UNLOCKED()) {
$experiment->SetState(EXPTSTATE_SWAPPED);
$experiment->SetCancelFlag(EXPTCANCEL_DEQUEUE);
}
else {
$experiment->SetCancelFlag(EXPTCANCEL_DEQUEUE);
$experiment->SetState(EXPTSTATE_SWAPPED);
}
}
elsif ($inout eq "modify") {
......
Markdown is supported
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