X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_routesearch;h=1bbaf9f5715d8a4a76be4fe0171fe48b4ff5013d;hb=b5cdb0d90df8dde3653e2a1d8d2c3e1c2d04af3e;hp=1deeb83edd527dd3ccc2faeda13ae391e728dcce;hpb=59393edc418d7062f6fb074a90d3b8e810c43772;p=ypp-sc-tools.db-test.git diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index 1deeb83..1bbaf9f 100644 --- a/yarrg/web/query_routesearch +++ b/yarrg/web/query_routesearch @@ -60,7 +60,7 @@ my @islandids; my $destspec; my $maxmaxdist=35; -my $maxcpu=1; +my $maxcpu=90; my $concur_lim=5; my $qa= \%ARGS; @@ -174,7 +174,7 @@ foreach my $k (qw(MaxMass MaxVolume MaxCapital)) { } push @rsargs, defined $routeparams->{LossPerLeaguePct} ? $routeparams->{LossPerLeaguePct}*0.01 : 1e-9; -push @rsargs, 0; #$routeparams->{MinProfit}; +push @rsargs, $routeparams->{MinProfit}; push @rsargs, 'search',$maxdist, $maxcountea,$maxcountea; push @rsargs, $destspec; push @rsargs, @islandids;