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

在 sender.py 的 time.sleep(DIAL_CYCLE) 重复了两次。 #14

Open
zyy24796143 opened this issue Apr 16, 2022 · 0 comments
Open

在 sender.py 的 time.sleep(DIAL_CYCLE) 重复了两次。 #14

zyy24796143 opened this issue Apr 16, 2022 · 0 comments

Comments

@zyy24796143
Copy link

zyy24796143 commented Apr 16, 2022

我在 DIAL_CYCLE 设置的时间是600秒进行一次重新拨号,实际是1200秒才进行重新拨号。在代码中看到的逻辑是 self.run() 里的 self.set_proxy(proxy) 写入完代理后,进行一次time.sleep(DIAL_CYCLE),然后 self.run() 执行完后又 time.sleep(DIAL_CYCLE)了一次。

image

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

1 participant