Skip to content

Commit

Permalink
buildx gaul#4 cache location added gaul#2
Browse files Browse the repository at this point in the history
  • Loading branch information
reluxa committed Oct 11, 2021
1 parent 81aba1a commit ce13760
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/gaul/s3proxy/CachingBlobStore.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.gaul.s3proxy;

import com.sun.xml.internal.ws.util.StringUtils;
import org.ehcache.Cache;
import org.ehcache.PersistentCacheManager;
import org.ehcache.config.builders.CacheConfigurationBuilder;
Expand Down Expand Up @@ -32,7 +31,7 @@ public CachingBlobStore(BlobStore blobStore) {
if (System.getProperties().getProperty("s3proxy.caching-blobstore-location") == null || location.length() == 0) {
location = "/tmp";
}

final PersistentCacheManager persistentCacheManager = CacheManagerBuilder.newCacheManagerBuilder()
.with(CacheManagerBuilder.persistence(location + File.separator + "cache"))
.withCache("blobcache",
Expand Down

0 comments on commit ce13760

Please sign in to comment.