Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

太频繁请求小米服务,会不会被封号 #477

Open
iazrael opened this issue Apr 15, 2024 · 3 comments
Open

太频繁请求小米服务,会不会被封号 #477

iazrael opened this issue Apr 15, 2024 · 3 comments

Comments

@iazrael
Copy link
Contributor

iazrael commented Apr 15, 2024

看了代码,最多是1s查询一次最新问题,这么频繁的请求,会被小米服务器ban的吧?

@yihong0618
Copy link
Owner

暂时不会,如果害怕的话可以把 sleep 调大点。

(小米本身的请求比这个频繁多了。。。

@yihong0618
Copy link
Owner

暂时不会,如果害怕的话可以把 sleep 调大点。

(小米本身的请求比这个频繁多了。。。

另外可以用小号~

@yihong0618
Copy link
Owner

我感觉我们可以加个冷却命令。可以改变 sleep 10-20s 请求一次。
可以跟他对话让他冷却。
PR welcome, 我先把这个打开

@yihong0618 yihong0618 reopened this Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants