From 46f418bafb15380e2070a5d43e1524740f67533c 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 5e4dda364b8..b97146a02da 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 {