Skip to content
Snippets Groups Projects
Commit 40c2a75c authored by Muskan Srivastava's avatar Muskan Srivastava
Browse files

fixed retry policy

parent 2d38d1cb
No related branches found
No related tags found
1 merge request!147Enabling retry for indexer to storage service calls
Pipeline #35616 passed
......@@ -41,9 +41,9 @@ public class RetryPolicy {
.retryOnResult(response -> {
List<String> notFound = new Gson().fromJson(response.getBody(), List.class);
if(notFound.isEmpty()) {
return true;
return false;
}
return false;
return true;
})
.build();
return config;
......
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