Ver Fonte

[update] 代理校验

jinghao_wb há 8 anos atrás
pai
commit
67b5fbba8e
1 ficheiros alterados com 1 adições e 1 exclusões
  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):