-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Saving multiple objects in a loop is extremely slow #82
Comments
Hi @jantomicky, |
Awesome, thank you very much! |
We have the same problem. But problem only exists if we have pimcore enviroment set to PROD mode. If enviroment is set to DEV mode savings are fast. |
In our project, we have several console commands that modify lots of Pimcore objects (products), in a loop (synchronization of external data to Pimcore). These are called with CRON.
When we set up the connector / bridge, these commands basically slow down to the point of not working (think ~50 processed objects over 20 hours, whereas when we unpublish the connector configuration, we are able to process tens of thousands in about 4 hours).
Could this be related to #63 in any way? Is there a way of temporarily disabling the connector for specific actions, for the duration of the process (unregistering the event listeners, maybe)?
Will #41 with version 2.0 solve this, and if so, when will it be out, and can we help somehow? Thanks!
The text was updated successfully, but these errors were encountered: