Changeset 4586


Ignore:
Timestamp:
Dec 30, 2009, 10:35:27 PM (11 years ago)
Author:
ronosman
Message:

Bug fixed : only make high file checksum when needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/pLoader/trunk/src/Uploader/PWG/WebServices.pm

    r4476 r4586  
    281281            $self->_checksum_files($progress);
    282282            my @types = ('file', 'thumb');
     283            #printf("WS upload_high %s\n", $self->upload_high);
    283284            push @types, 'high' if $self->upload_high;
    284285            map{
     
    394395                             $progress
    395396                         ),
     397            original => $progress->{original_sum}
     398        }
     399    );
     400
    396401            high => $self->_checksum(
    397402                        $self->site_high_file,
    398403                        $progress
    399404                    ),
    400             original => $progress->{original_sum}
    401         }
    402     );
     405
     406    $self->sum->{high} = $self->_checksum(
     407                        $self->site_high_file,
     408                        $progress
     409    ) if $self->upload_high ;
    403410}
    404411
     
    549556         original_sum  => $self->sum->{original},
    550557    };
    551 print Dumper $params;
     558    #print Dumper $params;
    552559    $self->send_chunks(
    553560       $params,
Note: See TracChangeset for help on using the changeset viewer.