Skip to content

Commit

Permalink
Delete:Some Delete
Browse files Browse the repository at this point in the history
  • Loading branch information
gaorui authored and gaorui committed Nov 5, 2017
1 parent 778408d commit ea0b116
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/myapp/proxy/ProxyPool.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.myapp.proxy;

import com.myapp.redis.RedisStorage;
import com.myapp.scanner.Scanning;
import com.myapp.scanner.ScanningPool;
import com.myapp.util.HttpStatus;


Expand Down Expand Up @@ -94,7 +94,7 @@ public void reback(HttpProxy httpProxy, HttpStatus httpStatus) {
}

if (httpProxy.getSucceedNum() > 5) {
if (Scanning.b) Scanning.scanningProxyIp(httpProxy);//扫描ip段
if (ScanningPool.b) ScanningPool.scanningProxyIp(httpProxy);//扫描ip段
//持久化到磁盘,提供代理ip服务
RedisStorage.setProxyIp(httpProxy);//连续成功超过 5次,移除代理池队列,存储到redis
return;
Expand Down

0 comments on commit ea0b116

Please sign in to comment.