Commit 4ec85d39 authored by Leigh B Stoller's avatar Leigh B Stoller

Add back useprepass check.

parent 4b18be17
......@@ -226,6 +226,8 @@ if (!TBAdmin() &&
# multiplex_factor default.
$mfactor = $experiment->multiplex_factor()
if (!defined($mfactor) && defined($experiment->multiplex_factor()));
# NS file can say to run the prepass.
my $useprepass = $experiment->useprepass();
my $newassign =
EmulabFeatures->FeatureEnabled("NewAssign",
......@@ -599,7 +601,7 @@ sub RunAssign($$)
if ($vtop->sharednodecount());
# The prepass speeds up assign on big topos with virtual nodes.
if ($prepass) {
if ($prepass || $useprepass) {
$cmd = "assign_prepass";
$args = "-m $mfactor $args"
if (defined($mfactor));
......
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