Fix CLOUD-1865: Each tenant takes too much time to start up

- Remove redundant INFO logging
 - Add back override that disables tenant startup (THOR-666)
 - Raised issue: ALF-19279 Differences between MT bootstrap in Enterprise and Cloud 


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@52684 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2013-07-16 02:21:38 +00:00
parent 597a6b5d89
commit 5c3edbb549

View File

@@ -317,11 +317,6 @@ public class MultiTAdminServiceImpl implements TenantAdminService, ApplicationCo
// notify tenant deployers registered so far ... // notify tenant deployers registered so far ...
notifyAfterEnableTenant(tenantDomain); notifyAfterEnableTenant(tenantDomain);
enabledCount++; enabledCount++;
if (logger.isDebugEnabled())
{
logger.debug("Tenant enabled: " + tenantDomain);
}
} }
else else
{ {
@@ -649,7 +644,10 @@ public class MultiTAdminServiceImpl implements TenantAdminService, ApplicationCo
notifyAfterEnableTenant(tenantDomain); notifyAfterEnableTenant(tenantDomain);
} }
private void notifyAfterEnableTenant(String tenantDomain) /**
* Call all {@link TenantDeployer#onEnableTenant() TenantDeployers} as the system tenant.
*/
protected void notifyAfterEnableTenant(String tenantDomain)
{ {
// Check that all the passed values are not null // Check that all the passed values are not null
ParameterCheck.mandatory("tenantDomain", tenantDomain); ParameterCheck.mandatory("tenantDomain", tenantDomain);
@@ -667,9 +665,9 @@ public class MultiTAdminServiceImpl implements TenantAdminService, ApplicationCo
} }
}, tenantDomain); }, tenantDomain);
if (logger.isInfoEnabled()) if (logger.isDebugEnabled())
{ {
logger.info("Tenant enabled: " + tenantDomain); logger.debug("Tenant enabled: " + tenantDomain);
} }
} }