Skip to content
This repository has been archived by the owner on Jul 18, 2021. It is now read-only.

建议时间间隔和人数引入随机数概念 #141

Open
lizishushu opened this issue Jun 28, 2016 · 1 comment
Open

建议时间间隔和人数引入随机数概念 #141

lizishushu opened this issue Jun 28, 2016 · 1 comment

Comments

@lizishushu
Copy link

import random

MAX_GROUP_NUM = random.choice([10,11,12,15,18,20]) # 每组人数加入随机数且将默认值增大

INTERFACE_CALLING_INTERVAL = random.choice([6,7,8,9,10,11,12]) #把时间间隔改成从数据随机获取

以上代码经过测试,效果很好且能够快速地实现检测功能。希望你能够参考一下

@todwang
Copy link

todwang commented Sep 6, 2016

依旧会出现操作频繁的问题

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants