Skip to content
Snippets Groups Projects
Commit c7c531d4 authored by Harshika Dhoot's avatar Harshika Dhoot
Browse files

Retry for 404 removed

parent 030517dd
Branches
Tags
1 merge request!384Removed retry attempts and call to storage service
......@@ -85,13 +85,11 @@ public class RetryPolicy {
public boolean schemaRetryPolicy(HttpResponse response) {
if (retryOnEmptyResponse(response)) return false;
if (defaultResponseRetry(response)) return true;
if (response.getResponseCode() == 404) {
if (defaultResponseRetry(response)) {
log.info("Schema API retry");
return true;
}
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment