diff --git a/loopingduptaskproducer/src/main/java/org/duracloud/mill/ltp/dup/AppDriver.java b/loopingduptaskproducer/src/main/java/org/duracloud/mill/ltp/dup/AppDriver.java index b042fb96..34af26c3 100644 --- a/loopingduptaskproducer/src/main/java/org/duracloud/mill/ltp/dup/AppDriver.java +++ b/loopingduptaskproducer/src/main/java/org/duracloud/mill/ltp/dup/AppDriver.java @@ -41,6 +41,7 @@ import org.ehcache.config.builders.CacheConfigurationBuilder; import org.ehcache.config.builders.CacheManagerBuilder; import org.ehcache.config.builders.ResourcePoolsBuilder; +import org.ehcache.config.units.MemoryUnit; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -68,7 +69,7 @@ public static void main(String[] args) { @Override protected LoopingTaskProducer buildTaskProducer() { - List defintions = + List definitions = new PropertyDefinitionListBuilder().addAws() .addSwift() .addNotificationConfig() @@ -82,7 +83,7 @@ protected LoopingTaskProducer buildTaskProducer() { .addLocalDuplicationDir() .addWorkDir() .build(); - PropertyVerifier verifier = new PropertyVerifier(defintions); + PropertyVerifier verifier = new PropertyVerifier(definitions); verifier.verify(System.getProperties()); LoopingTaskProducerConfigurationManager config = new LoopingTaskProducerConfigurationManager(); @@ -148,7 +149,7 @@ protected LoopingTaskProducer buildTaskProducer() { .withCache("contentIdCache", CacheConfigurationBuilder.newCacheConfigurationBuilder( String.class, String.class, - ResourcePoolsBuilder.newResourcePoolsBuilder())) + ResourcePoolsBuilder.newResourcePoolsBuilder().disk(100, MemoryUnit.MB, true))) .build(true); Cache cache = cacheManager.getCache("contentIdCache", String.class, String.class); diff --git a/pom.xml b/pom.xml index b05bcad0..41d232b5 100644 --- a/pom.xml +++ b/pom.xml @@ -885,7 +885,7 @@ org.ehcache ehcache - 3.10.0 + 3.10.8