added sleep to solve problem of lost request of creating index

pull/134/head
Sandro La Bruzzo 3 years ago
parent 7b172e7cd9
commit 6358f92c3a

@ -71,6 +71,9 @@ public class DropAndCreateESIndex {
log.info(STATUS_CODE_TEXT, response.getStatusLine());
}
log.info("Sleeping 60 seconds to avoid to lost the creation of index request");
Thread.sleep(60000);
try (CloseableHttpClient client = HttpClients.createDefault()) {
final String summaryConf = IOUtils

Loading…
Cancel
Save