Python 蝗虫主人会在—之后接受并使用额外的奴隶吗;是否满足以下条件?

Python 蝗虫主人会在—之后接受并使用额外的奴隶吗;是否满足以下条件?,python,locust,Python,Locust,如果我运行的是一个蝗虫主人无头-除了奴隶3,如果我连接5个奴隶,主人会接受并使用所有连接的奴隶吗?答案是肯定的。如果通过--expect slave 3,则主机将等待3个slave开始测试,但它可以接受5个slave。以下是官方文档网站的内容 --expect-slaves=X Used when starting the master node with --no-web. The master node will then wait until X slave nodes has co

如果我运行的是一个蝗虫主人无头-除了奴隶3,如果我连接5个奴隶,主人会接受并使用所有连接的奴隶吗?

答案是肯定的。如果通过--expect slave 3,则主机将等待3个slave开始测试,但它可以接受5个slave。以下是官方文档网站的内容

--expect-slaves=X
  Used when starting the master node with --no-web. The master node will then wait until X slave nodes has  connected before the test is started.
链接: