From 8a43a560b24d6fadfada2645effcf10c61eb5bc1 Mon Sep 17 00:00:00 2001 From: Harshan Liyanage Date: Tue, 4 Apr 2017 20:14:43 +0530 Subject: [PATCH] Api publishing timeout fixes for cloud. --- .../application/extension/APIManagementProviderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/src/main/java/org/wso2/carbon/apimgt/application/extension/APIManagementProviderServiceImpl.java b/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/src/main/java/org/wso2/carbon/apimgt/application/extension/APIManagementProviderServiceImpl.java index ef01e36883..3c5fb7af70 100644 --- a/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/src/main/java/org/wso2/carbon/apimgt/application/extension/APIManagementProviderServiceImpl.java +++ b/components/apimgt-extensions/org.wso2.carbon.apimgt.application.extension/src/main/java/org/wso2/carbon/apimgt/application/extension/APIManagementProviderServiceImpl.java @@ -46,7 +46,7 @@ public class APIManagementProviderServiceImpl implements APIManagementProviderSe private static final int MAX_API_PER_TAG = 200; private static final String APP_TIER_TYPE = "application"; private static final Map tiersMap = new HashMap<>(); - private static final int MAX_ATTEMPTS = 10; + private static final int MAX_ATTEMPTS = 20; @Override public void removeAPIApplication(String applicationName, String username) throws APIManagerException {