Revision d5a5d3a1
Von Bernd Bleßmann vor fast 8 Jahren hinzugefügt
SL/Controller/CsvImport/Base.pm | ||
---|---|---|
465 | 465 |
|
466 | 466 |
$self->controller->track_progress(phase => 'saving data', progress => 0); # scale from 45..95%; |
467 | 467 |
|
468 |
my $dbh = $data->[0]{object}->db->dbh; |
|
469 |
|
|
470 | 468 |
my $last_index = $#$data; |
471 | 469 |
my $chunk_size = 100; # one transaction and progress update every 100 objects |
472 | 470 |
|
Auch abrufbar als: Unified diff
CsvImport: Unbenutzte Variable/Statement entfernt.