wip
This commit is contained in:
1 parent
fd36c91f93
commit
85ac432878
2 files changed
+2
-2
No files matched your search
@@ -89,7 +89,7 @@ class ImportPlayer
|
|||||||
|
|
||||||
SimpleExcelReader::create(storage_path('app/public/'.$filePath))
|
SimpleExcelReader::create(storage_path('app/public/'.$filePath))
|
||||||
->getRows()
|
->getRows()
|
||||||
->chunk(1000)
|
->chunk(500)
|
||||||
->each(function (LazyCollection $chunk) use ($fieldnames) {
|
->each(function (LazyCollection $chunk) use ($fieldnames) {
|
||||||
|
|
||||||
foreach ($chunk as $row) {
|
foreach ($chunk as $row) {
|
||||||
|
|||||||
+1
-1
@@ -39,7 +39,7 @@ return [
|
|||||||
'connection' => env('DB_QUEUE_CONNECTION'),
|
'connection' => env('DB_QUEUE_CONNECTION'),
|
||||||
'table' => env('DB_QUEUE_TABLE', 'jobs'),
|
'table' => env('DB_QUEUE_TABLE', 'jobs'),
|
||||||
'queue' => env('DB_QUEUE', 'default'),
|
'queue' => env('DB_QUEUE', 'default'),
|
||||||
'retry_after' => (int) env('DB_QUEUE_RETRY_AFTER', 90),
|
'retry_after' => (int) 1860,
|
||||||
'after_commit' => false,
|
'after_commit' => false,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user