ImportAction 10 thousand lines of csv
Good day everyone! I was wondering what approach you normally do or any suggestions you can give when dealing with importing 10 thousand lines inside one csv file? I tried change the chuncksize to a 100, tried splitting the csv to mutiple files, change maxexecutiontime of php and everything i could think of but still get server timeout.
2 Replies
How about handling that as a Laravel Job, were you would have to queue the process.
Are you using
QUEUE_CONNECTION=sync
? Because the importer should run on the queue