简体   繁体   English

厨师提高powershell_script性能

[英]chef Improve powershell_script performance

Is there a way to get chef to reuse a powershell session or at least decrease the launch time of a new process? 有没有办法让厨师重用Powershell会话或至少减少新流程的启动时间? A run is spending 2 seconds performing not_if and only_if checks that use powershell (even if the PS code itself is instantaneous). 运行需要2秒钟的时间来执行使用powershell的not_if和only_if检查(即使PS代码本身是瞬时的)。 It would be nice to improve this. 改善它会很好。

Not that I know of, what you see is what you get. 并不是我所知道的,所见即所得。 If you're interested in working on it, a GitHub issue or pull request would be the right place to discuss. 如果您对此感兴趣,可以在GitHub上发布问题或提出请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM