this is indeed kind of a solution here, as it involves editing core xml files (it's my understanding there is no way to override those files by a custom module: someone please correct me if I'm wrong), but here it is. See edit. Acording to these guys (I haven't try it myself) there are 3 observers that add a lot of execution time in order process. Their solution is to remove/comment those lines: In app/code/core/Mage/Downloadable/etc/config.xml:
Maybe you can check if you can go without them and give a try. Remember that at next upgrade those changes will probably be lost. Hope That Helps Edit: At inchoo they found a solution to disabled events without editing core files, it won't be difficult to apply it in this case.
发布评论
评论(1)
这确实是一种解决方案,因为它涉及编辑核心 xml 文件(据我所知,无法通过自定义模块覆盖这些文件:如果我',请有人纠正我'我错了),但就是这样。请参阅编辑。
根据这些人(我自己没有尝试过)有3观察者在订单处理中增加了大量的执行时间。他们的解决方案是删除/注释这些行:
在 app/code/core/Mage/Downloadable/etc/config.xml 中:
在 app/code/core/Mage/Rss/etc/config.xml 中:
也许你可以检查是否可以不使用它们并尝试一下。请记住,在下次升级时,这些更改可能会丢失。
希望有帮助
编辑:在inchoo他们找到了一种无需编辑核心文件即可禁用事件的解决方案,在这种情况下应用它并不困难。
this is indeed kind of a solution here, as it involves editing core xml files (it's my understanding there is no way to override those files by a custom module: someone please correct me if I'm wrong), but here it is.See edit.
Acording to these guys (I haven't try it myself) there are 3 observers that add a lot of execution time in order process. Their solution is to remove/comment those lines:
In app/code/core/Mage/Downloadable/etc/config.xml:
And in app/code/core/Mage/Rss/etc/config.xml:
Maybe you can check if you can go without them and give a try. Remember that at next upgrade those changes will probably be lost.
Hope That Helps
Edit: At inchoo they found a solution to disabled events without editing core files, it won't be difficult to apply it in this case.