Explorar el Código

[update] 代理校验

jinghao_wb hace 8 años
padre
commit
67b5fbba8e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Schedule/ProxyCheck.py

+ 1 - 1
Schedule/ProxyCheck.py

@@ -22,7 +22,7 @@ from Util.utilFunction import validUsefulProxy
 from Manager.ProxyManager import ProxyManager
 from Util.LogHandler import LogHandler
 
-FAIL_COUNT = 2
+FAIL_COUNT = 1  # 校验失败次数, 超过次数删除代理
 
 
 class ProxyCheck(ProxyManager, Thread):