X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_routesearch;h=1828f374bc5b97e90546bc417d0b7bd5940d61f6;hp=bbeba5b522e59ce506ec29d9fb334fa01ae93334;hb=f62749dec2d8b67a9b4b4a910e1159907654d426;hpb=f2f25e1201a92e62c3eeb35cdec0a62539e18cb5 diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index bbeba5b..1828f37 100644 --- a/yarrg/web/query_routesearch +++ b/yarrg/web/query_routesearch @@ -36,32 +36,49 @@ <%args> $quri $dbh +$baseqf +$queryqf $islandstring => ''; $capacitystring => ''; $lossperleague => ''; $capitalstring => ''; +$minprofitstring => ''; $distance => ''; +$prselector $someresults $emsgokorprint +$allargs %args> <%perl> +use BSD::Resource; + my $emsg; my @warningfs; my @islandids; +my $destspec; + +my $maxmaxdist=35; +my $maxcpu=90; +my $concur_lim=5; + my $qa= \%ARGS; -my $routeparams= { EmsgRef => \$emsg, SayOptionalCapital => 1 }; +my $routeparams= { EmsgRef => \$emsg, SayRequiredCapacity => 1 }; my $maxdist; +my $maxcountea=15; %perl> +