#647 set timeout
This commit is contained in:
parent
1b7ff889db
commit
9ddbb4f79e
1 changed files with 1 additions and 1 deletions
|
@ -414,7 +414,7 @@ public class FessEsClient implements Client {
|
|||
final String updatedIndexName;
|
||||
if (isFessIndex) {
|
||||
client.admin().cluster().prepareHealth(fessConfig.getIndexDocumentUpdateIndex()).setWaitForYellowStatus().execute()
|
||||
.actionGet();
|
||||
.actionGet(fessConfig.getIndexIndicesTimeout());
|
||||
final GetIndexResponse response =
|
||||
client.admin().indices().prepareGetIndex().addIndices(fessConfig.getIndexDocumentUpdateIndex()).execute()
|
||||
.actionGet(fessConfig.getIndexIndicesTimeout());
|
||||
|
|
Loading…
Add table
Reference in a new issue