Skip to content

Commit

Permalink
Stop when we know we've reached the end of mlarchive as there won't b…
Browse files Browse the repository at this point in the history
…e any more
  • Loading branch information
Nigel Horne committed Dec 18, 2020
1 parent 5b008b2 commit 100a7d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/create_db.PL
Expand Up @@ -83,10 +83,10 @@ $ua->conn_cache()->total_capacity(undef);

my $page = 1;
my @queue;
while(1) {
do {
last if(!mlarchives($ua, $page));
$page++;
}
} while($page < 200);

my $issue = 9;
while(1) {
Expand Down

0 comments on commit 100a7d5

Please sign in to comment.