|
@@ -17,6 +17,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
import javax.annotation.PostConstruct;
|
|
import javax.annotation.PostConstruct;
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
|
+import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @author dyp
|
|
* @author dyp
|
|
@@ -30,7 +31,7 @@ public class ViewedService {
|
|
@Value("${video.filter.url:}")
|
|
@Value("${video.filter.url:}")
|
|
private String videoFilterUrl;
|
|
private String videoFilterUrl;
|
|
|
|
|
|
- private final CloseableHttpClient client = HttpClientFactory.create(3000, 3000, 200, 200, 0, 3000);
|
|
|
|
|
|
+ private final CloseableHttpClient client = HttpClientFactory.create(1000, 1000, 200, 200, 0, 1000);
|
|
|
|
|
|
|
|
|
|
@PostConstruct
|
|
@PostConstruct
|