Skip to content

Commit

Permalink
LDEV-5200 skip cache lookup when lucee.cache.variableKeys is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Dec 14, 2024
1 parent 778b103 commit e8fa844
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/lucee/runtime/type/KeyImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public static Collection.Key init(String key) {
* used to inside the rest of the source created, can be dynamic values, so a lot
*/
public static Collection.Key source(String key) {
if (MAX == 0) return new KeyImpl(key);
Key k = keys.get(key);
if (k == null) {
if (keys.size() > MAX) return new KeyImpl(key);
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.2.0.214-SNAPSHOT"/>
<property name="version" value="6.2.0.215-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.2.0.214-SNAPSHOT</version>
<version>6.2.0.215-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit e8fa844

Please sign in to comment.