X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_routesearch;h=1828f374bc5b97e90546bc417d0b7bd5940d61f6;hp=93fcf0bc1bda2c57d793b0ed7a7b3e196ab12494;hb=9a4d1b4c8bdd8ef11b1d0102a4eee188c4c4f011;hpb=20bea992a857ea1f03f19d81f7164b113a560e83 diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index 93fcf0b..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, SayRequiredCapacity => 1 }; my $maxdist; +my $maxcountea=15; %perl> +