Commit d6b3d649 authored by Krishna Nikhil Vedurumudi's avatar Krishna Nikhil Vedurumudi
Browse files

Revert changes in Blob Caches

parent b42691f7
Pipeline #38053 passed with stages
in 6 minutes and 54 seconds
...@@ -2,7 +2,6 @@ package org.opengroup.osdu.azure.cache; ...@@ -2,7 +2,6 @@ package org.opengroup.osdu.azure.cache;
import com.azure.storage.blob.BlobContainerClient; import com.azure.storage.blob.BlobContainerClient;
import org.opengroup.osdu.core.common.cache.VmCache; import org.opengroup.osdu.core.common.cache.VmCache;
import org.opengroup.osdu.core.common.cache.enums.CachingStrategy;
import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
...@@ -17,7 +16,7 @@ public class BlobContainerClientCache extends VmCache<String, BlobContainerClien ...@@ -17,7 +16,7 @@ public class BlobContainerClientCache extends VmCache<String, BlobContainerClien
* Default cache constructor. * Default cache constructor.
*/ */
public BlobContainerClientCache() { public BlobContainerClientCache() {
super(60 * 60, 1000, CachingStrategy.EXPIRE_AFTER_WRITE); super(60 * 60, 1000);
} }
/** /**
......
...@@ -2,7 +2,6 @@ package org.opengroup.osdu.azure.cache; ...@@ -2,7 +2,6 @@ package org.opengroup.osdu.azure.cache;
import com.azure.storage.blob.BlobServiceClient; import com.azure.storage.blob.BlobServiceClient;
import org.opengroup.osdu.core.common.cache.VmCache; import org.opengroup.osdu.core.common.cache.VmCache;
import org.opengroup.osdu.core.common.cache.enums.CachingStrategy;
import org.springframework.context.annotation.Lazy; import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
...@@ -17,7 +16,7 @@ public class BlobServiceClientCache extends VmCache<String, BlobServiceClient> { ...@@ -17,7 +16,7 @@ public class BlobServiceClientCache extends VmCache<String, BlobServiceClient> {
* Default cache constructor. * Default cache constructor.
*/ */
public BlobServiceClientCache() { public BlobServiceClientCache() {
super(60 * 60, 1000, CachingStrategy.EXPIRE_AFTER_WRITE); super(60 * 60, 1000);
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment