Skip to content
Snippets Groups Projects
Commit e790b8b8 authored by Neelesh Thakur's avatar Neelesh Thakur
Browse files

retry on index not found errors

parent 506cda77
No related branches found
No related tags found
2 merge requests!346Merge branch 'aws-integration' into 'master',!282disable default index creation
......@@ -65,7 +65,7 @@ public class IndexerServiceImpl implements IndexerService {
private static final TimeValue BULK_REQUEST_TIMEOUT = TimeValue.timeValueMinutes(1);
private static final List<RestStatus> RETRY_ELASTIC_EXCEPTION = new ArrayList<>(Arrays.asList(RestStatus.TOO_MANY_REQUESTS, RestStatus.BAD_GATEWAY, RestStatus.SERVICE_UNAVAILABLE));
private static final List<RestStatus> RETRY_ELASTIC_EXCEPTION = new ArrayList<>(Arrays.asList(RestStatus.TOO_MANY_REQUESTS, RestStatus.BAD_GATEWAY, RestStatus.SERVICE_UNAVAILABLE, RestStatus.NOT_FOUND));
private final Gson gson = new GsonBuilder().serializeNulls().create();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment