|
@@ -22,10 +22,10 @@ import java.util.Objects;
|
|
|
public class AIGCProducePlanDetailService {
|
|
|
|
|
|
private final CloseableHttpClient client =
|
|
|
- HttpClientFactory.create(10000, 180000, 200, 200, 0, 10000);
|
|
|
+ HttpClientFactory.create(30000, 180000, 200, 200, 0, 30000);
|
|
|
|
|
|
public ProducePlanDetailVO articleGetProducePlanDetail(String planId) {
|
|
|
- int retryTimes = 2;
|
|
|
+ int retryTimes = 5;
|
|
|
while (retryTimes > 0) {
|
|
|
ProducePlanDetailVO result = post(planId);
|
|
|
if (Objects.nonNull(result)) {
|