Skip to content

Commit 6758e37

Browse files
committed
修改time.sleep(0.1)为time.sleep(0.01)
1 parent 27c8873 commit 6758e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/conn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def pushValidateResult(proxy, success, latency):
7676
success : True/False,验证是否成功
7777
latency : 本次验证所用的时间(单位毫秒)
7878
"""
79-
time.sleep(0.1) # 为了解决并发读写饿死的问题
79+
time.sleep(0.01) # 为了解决并发读写饿死的问题
8080

8181
p = proxy
8282
should_remove = p.validate(success, latency)

0 commit comments

Comments
 (0)