Browse Source

ADD: hot_scene_type

sunxy 1 năm trước cách đây
mục cha
commit
ca31ae6023

+ 1 - 0
recommend-server-client/src/main/proto/com/tzld/piaoquan/recommend/server/recommend.proto

@@ -29,6 +29,7 @@ message RecommendRequest {
   string sub_session_id = 18;
   string page_source = 19;
   string category_id = 20;
+  int64 hot_scene_type = 21;
 }
 
 message MachineInfoProto {

+ 2 - 1
recommend-server-service/src/main/java/com/tzld/piaoquan/recommend/server/service/ViewedService.java

@@ -17,6 +17,7 @@ import org.springframework.stereotype.Service;
 
 import javax.annotation.PostConstruct;
 import java.util.*;
+import java.util.concurrent.TimeUnit;
 
 /**
  * @author dyp
@@ -30,7 +31,7 @@ public class ViewedService {
     @Value("${video.filter.url:}")
     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