IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24744


Ignore:
Timestamp:
Jul 10, 2009, 9:56:03 PM (17 years ago)
Author:
bills
Message:

Don't try to add every fileset ever made in one go.
Set limit to 100 for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/receive_source.pl

    r23894 r24744  
    6464my @filesets = ();              # Filesets to add
    6565my @lines = split(/\n/, join "", @$stdout_buf); # Lines from output
     66my $numFilesets = 0;
    6667foreach my $line ( @lines ) {
    6768    $line =~ s/\#.*//g;
     
    7172    my $fileset = $fields[1];
    7273    push @filesets, $fileset if defined $fileset and $fileset =~ /\S+/;
     74
     75    # TODO don't overload recevietool.  Tune this limit
     76    $numFilesets++;
     77    last if $numFilesets >= 100;
    7378}
    7479
Note: See TracChangeset for help on using the changeset viewer.