I created a product (catalog) import module for magento2. I know there is a import module out of the box in magento2 but this does not serve my needs. All my data is stored in sepperate csv files (this data is updated hourly)
- articles.csv (7000 products)
So all this data needs to be imported into magento2.
The import module is executed via the Index controller (mysite.url/import). This works fine and I can see that my products are being imported but it takes very long. After around 10mins I get a 504 Gateway Time-out error
This is my code http://pastebin.com/t3z37X7a
How could I improve my code to reduce the execution time? Or should I try to work with Import classes from magento2 ?