XiaXiang 8 years ago
parent
commit
99d6d29f65
  1. 1
      designer/src/com/fr/design/mainframe/alphafine/searchManager/RecommendSearchManager.java

1
designer/src/com/fr/design/mainframe/alphafine/searchManager/RecommendSearchManager.java

@ -32,6 +32,7 @@ public class RecommendSearchManager implements AlphaFineSearchProcessor {
this.modelList = new SearchResult();
HttpClient httpClient = new HttpClient(SEARCHAPI + CodeUtils.cjkEncode(searchText));
httpClient.asGet();
httpClient.setTimeout(5000);
if (!httpClient.isServerAlive()) {
return modelList;
}

Loading…
Cancel
Save