蝗虫主人会接受和使用额外的奴隶后,预期奴隶数量满足?

2024-05-29 04:45:25 发布

您现在位置:Python中文网/ 问答频道 /正文

如果我运行一个蝗虫主人无头-除了奴隶3,如果我连接5个奴隶主人会接受和利用所有连接的奴隶?你知道吗


Tags: 利用主人蝗虫奴隶人会奴隶主
1条回答
网友
1楼 · 发布于 2024-05-29 04:45:25

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

 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.

链接:https://docs.locust.io/en/stable/running-locust-distributed.html#options

相关问题 更多 >

    热门问题