X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fhftable.pl;h=abd04b0065d165d17d15dbc38eca62ea29b85b68;hb=6b6eda0362049fd67809f2789e523708a1a8cb13;hp=2b83994aea6e19f02508eaffc44ef0f529751daa;hpb=70ffd373d199a2a83072da4e2b75572a2270383f;p=spider.git diff --git a/cmd/show/hftable.pl b/cmd/show/hftable.pl index 2b83994a..abd04b00 100644 --- a/cmd/show/hftable.pl +++ b/cmd/show/hftable.pl @@ -11,6 +11,7 @@ my @f = split /\s+/, $line; my @calls; my $days = 31; my @dxcc; +my $limit = 100; push @dxcc, (61..67) if $self->dxcc >= 61 && $self->dxcc < 67; push @dxcc, $self->dxcc unless @dxcc; @@ -65,6 +66,7 @@ for (sort {$list{$b}->[0] <=> $list{$a}->[0] || $a cmp $b} keys %list) { push @list, $r; } push @out, join('|', @list); + last if $limit && $nocalls >= $limit; } $nocalls = sprintf "%10s", "$nocalls calls";