Commit 96a7dc63 authored by luo hongyu's avatar luo hongyu
Browse files

[dev]修改线程配置

parent 4d2529a3
No related merge requests found
Showing with 2 additions and 3 deletions
+2 -3
......@@ -248,7 +248,7 @@ public class NewTranslateService {
}
// 重试次数
AtomicInteger failCount = new AtomicInteger(30);
AtomicInteger failCount = new AtomicInteger(10);
JsonArray res = new JsonArray();
Map<String , String> cols = getColObj(value);
for (Map.Entry<String, String> tmpKV : cols.entrySet()) {
......@@ -281,7 +281,6 @@ public class NewTranslateService {
}
if(translateSplit.length()!=0){
translateSplits.add(translateSplit.toString());
translateSplit=new StringBuilder();
}
for(int i=0;i<translateSplits.size();i++){
String tmpContentZh = "";
......
......@@ -57,7 +57,7 @@ public class ListenerAssignService {
retryBean.setOperatorBeanName(entry.getKey());
retryBean.setKafkaConsumerParams(getRetryKafkaParam());
retryBean.setInputTopic(commonConfig.getRetryTopic());
retryBean.setProcessThreadNum(45);
retryBean.setProcessThreadNum(30);
String retryConsumer=entry.getKey()+"_retry_consumer";
retryBean.setTopicConsumer(retryConsumer);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment