Browse Source

log conflict

丁云鹏 1 year ago
parent
commit
4809154191

+ 6 - 0
recommend-server-client/pom.xml

@@ -32,6 +32,12 @@
             <groupId>com.google.protobuf</groupId>
             <groupId>com.google.protobuf</groupId>
             <artifactId>protobuf-java-util</artifactId>
             <artifactId>protobuf-java-util</artifactId>
             <version>3.6.0</version>
             <version>3.6.0</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>protobuf-java</artifactId>
+                    <groupId>com.google.protobuf</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
         </dependency>
     </dependencies>
     </dependencies>
     <build>
     <build>

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

@@ -19,8 +19,8 @@ public final class ThreadPoolFactory {
             new ThreadFactoryBuilder().setNameFormat("DEFAULT-%d").build(),
             new ThreadFactoryBuilder().setNameFormat("DEFAULT-%d").build(),
             new ThreadPoolExecutor.AbortPolicy());
             new ThreadPoolExecutor.AbortPolicy());
     public final static ExecutorService RECALL = new ThreadPoolExecutor(
     public final static ExecutorService RECALL = new ThreadPoolExecutor(
-            64,
-            64,
+            128,
+            128,
             0L, TimeUnit.SECONDS,
             0L, TimeUnit.SECONDS,
             new LinkedBlockingQueue<>(1000),
             new LinkedBlockingQueue<>(1000),
             new ThreadFactoryBuilder().setNameFormat("RecallService-%d").build(),
             new ThreadFactoryBuilder().setNameFormat("RecallService-%d").build(),