Fabric 1.0.0 中 CPU 使用率高
在fabric 0.9版本中,一切运行得很好,但在1.0.0版本中,下面这个fabric脚本在top
命令中显示CPU使用率达到了100%:
from fabric.api import run
def test():
run("sleep 1000")
我这样运行这个文件:
fab -H localhost
为什么会出现这种情况呢?
在fabric 0.9版本中,一切运行得很好,但在1.0.0版本中,下面这个fabric脚本在top
命令中显示CPU使用率达到了100%:
from fabric.api import run
def test():
run("sleep 1000")
我这样运行这个文件:
fab -H localhost
为什么会出现这种情况呢?