Skip to content
Snippets Groups Projects
Commit f5857aef authored by Yifan Ye's avatar Yifan Ye Committed by Yifan Ye
Browse files

change retry from 5 to 3 times

parent 692a3304
No related branches found
No related tags found
1 merge request!819Change indexer service retry from 5 to 3 times
Pipeline #284949 failed
......@@ -44,8 +44,8 @@ public class RetryPolicy {
@Autowired
private JaxRsDpsLog logger;
private static int MAX_ATTEMPTS = 5;
private static int INITIAL_DELAY = 1000;
private int MAX_ATTEMPTS;
private int INITIAL_DELAY = 1000;
private final String RECORD_NOT_FOUND = "notFound";
/**
......
......@@ -112,3 +112,6 @@ featureFlag.xCollaboration.enabled=${featureFlag_xCollaboration_enabled:false}
# To enable the full server path url in OpenAPI Swagger
api.server.fullUrl.enabled=${swaggerFullUrlEnabled:true}
#Retry settings
azure.storage.client.retry.MAX_ATTEMPTS=3
\ No newline at end of file
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