Performance improvements
The following performance improvements have been made.
Response buffering setting changed for Microsoft SQL Server (#667210)
Response buffering is now set to adaptive by default for Microsoft SQL Server databases to improve performance. The XML configuration files cm6-mssql.xml and cm6-dwh-mssql.xml have been updated accordingly.
You need to update the XML configuration file to enable this change.
Pre‑compilation for workflow scripts adjusted (#668621)
Workflow scripts are now automatically pre‑compiled after every server restart, improving overall performance. The system property scriptPrecompilation.workflowNames in the module cmas-core-server has been changed from a whitelist to a blacklist for this purpose. It is renamed to scriptPrecompilation.excludedWorkflowNames and should contain the names of the workflows whose scripts should not be pre‑compiled.
When updating an existing ConSol CM system, the property values are adjusted automatically to ensure that the behavior remains as configured before the update, i.e.
- All existing workflow names are cleared, so that they are precompiled after the update.
- Workflow names which were not configured for precompilation, are added, so that these workflows are not precompiled after the update.
Script caching improved (#668559)
When a ConSol CM system was not actively used, the compiled Groovy scripts were removed from the JVM memory due to soft reference handling, causing time-consuming recompilation when they were executed again. This problem has been mitigated by extending the script cache period to one hour and refreshing the active status of scripts every ten minutes, so that they are not evicted from the cache so quickly.