sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1651324 - /sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
Date Tue, 13 Jan 2015 11:08:06 GMT
Author: asanso
Date: Tue Jan 13 11:08:06 2015
New Revision: 1651324

URL: http://svn.apache.org/r1651324
Log:
SLING-4216 - Limit the number of vanityPath MapEntry 

Modified:
    sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java

Modified: sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java?rev=1651324&r1=1651323&r2=1651324&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/ResourceResolverFactoryActivator.java
Tue Jan 13 11:08:06 2015
@@ -190,14 +190,14 @@ public class ResourceResolverFactoryActi
               label = "Maximum number of cached vanity path entries",
               description = "The maximum number of cached vanity path entries. " +
                             "Default is -1 (no limit)")
-    private static final String PROP_MAX_CACHED_VANITY_PATHS = "resource.resolver.max.vanityPath.entries";
+    private static final String PROP_MAX_CACHED_VANITY_PATHS = "resource.resolver.vanitypath.maxEntries";
 
     private static final int DEFAULT_VANITY_BLOOM_FILTER_MAX_BYTES = 1024000;
     @Property(longValue = DEFAULT_VANITY_BLOOM_FILTER_MAX_BYTES,
               label = "Maximum number of vanity bloom filter bytes",
               description = "The maximum number of vanity bloom filter bytes. " +
                             "Changing this value is subject to vanity bloom filter rebuild")
-    private static final String PROP_VANITY_BLOOM_FILTER_MAX_BYTES = "resource.resolver.vanity.bloom.filter.max.bytes";
+    private static final String PROP_VANITY_BLOOM_FILTER_MAX_BYTES = " resource.resolver.vanitypath.bloomfilter.maxBytes";
     
     private static final boolean DEFAULT_ENABLE_OPTIMIZE_ALIAS_RESOLUTION = true;
     @Property(boolValue = DEFAULT_ENABLE_OPTIMIZE_ALIAS_RESOLUTION ,



Mime
View raw message