This is an automated email from the ASF dual-hosted git repository. jamesyong pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 219fcc0 Improved: multi-block attribute for html-template tag (OFBIZ-11686) 219fcc0 is described below commit 219fcc01ce6166132dca4716404e45e4241afab0 Author: James Yong <jamesy...@apache.org> AuthorDate: Tue Aug 25 20:49:05 2020 +0800 Improved: multi-block attribute for html-template tag (OFBIZ-11686) Increase value for maxScriptCacheSizePerUserSession as ecommerce application using more inline script tags. Thanks: Jacques for reporting --- .../java/org/apache/ofbiz/widget/model/MultiBlockHtmlTemplateUtil.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/widget/src/main/java/org/apache/ofbiz/widget/model/MultiBlockHtmlTemplateUtil.java b/framework/widget/src/main/java/org/apache/ofbiz/widget/model/MultiBlockHtmlTemplateUtil.java index bc20bf2..4392d21 100644 --- a/framework/widget/src/main/java/org/apache/ofbiz/widget/model/MultiBlockHtmlTemplateUtil.java +++ b/framework/widget/src/main/java/org/apache/ofbiz/widget/model/MultiBlockHtmlTemplateUtil.java @@ -38,9 +38,8 @@ public final class MultiBlockHtmlTemplateUtil { private static final String MODULE = MultiBlockHtmlTemplateUtil.class.getName(); public static final String MULTI_BLOCK_WRITER = "multiBlockWriter"; private static final String SCRIPT_LINKS_FOR_FOOT = "ScriptLinksForFoot"; - private static int maxScriptCacheSizePerUserSession = 10; + private static int maxScriptCacheSizePerUserSession = 15; private static int estimatedConcurrentUserSessions = 250; - private static int estimatedScreensWithMultiBlockHtmlTemplate = 200; /** * Store inline script extracted from freemarker template for a user session. * Number of inline scripts for a user session will be constraint by {@link MultiBlockHtmlTemplateUtil#maxScriptCacheSizePerUserSession}