added limit to import

This commit is contained in:
Denis Duliçi
2021-06-27 03:27:19 +03:00
parent c78519cc2e
commit cbf2314dec
5 changed files with 24 additions and 6 deletions

View File

@ -13,7 +13,7 @@ return [
| Here you can specify how big the chunk should be.
|
*/
'chunk_size' => 100,
'chunk_size' => env('EXCEL_EXPORTS_CHUNK_SIZE', 100),
/*
|--------------------------------------------------------------------------
@ -42,6 +42,12 @@ return [
'imports' => [
'chunk_size' => env('EXCEL_IMPORTS_CHUNK_SIZE', 100),
'row_limit' => env('EXCEL_IMPORTS_ROW_LIMIT', 1000),
'extensions' => env('EXCEL_IMPORTS_EXTENSIONS', 'xls,xlsx'),
'read_only' => true,
'heading_row' => [