Is it possible to stop Sitecore from performing a publish operation?

主宰稳场 提交于 2019-12-07 21:52:22

问题


If I click "publish" on my entire content tree in the Sitecore Desktop, I will get the dialogue telling me how many items have been processed. Sometimes I know that this operation is going to take an extremely long time (e.g. an hour). There's no way to stop this process. Of course I can close the dialogue and continue using Sitecore, but the publish is still ongoing in the background. I cannot publish anything else until it has completed.

Recycling the app pool will kill the publish, but it is very disruptive to users working within Sitecore.

Is it possible to programatically, or otherwise, kill a publish operation without recycling the app pool?


回答1:


You should take a look at the Advanced Publish Dialog module, it has the additional functionality you require. There is a video describing the features on the developers blog.




回答2:


Recycle the application pool for the CMS on the server hosting the CMS.

This will kill the publish in the middle of whatever it was doing and force the CMS to restart.



来源:https://stackoverflow.com/questions/14690596/is-it-possible-to-stop-sitecore-from-performing-a-publish-operation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!