Commit f32b77c2 authored by neelesh thakur's avatar neelesh thakur
Browse files

fix elastic cache expiration multiplier

parent 952f5590
Pipeline #10658 passed with stages
in 8 minutes and 50 seconds
......@@ -41,7 +41,7 @@ public class ElasticCredentialsCache implements IElasticCredentialsCache<String,
public ElasticCredentialsCache(
@Named("ELASTIC_CACHE_EXPIRATION") final Integer cacheExpirationMinutes,
@Named("MAX_CACHE_VALUE_SIZE") final Integer maxCachedObjectEntries) {
cache = new VmCache<>(cacheExpirationMinutes, maxCachedObjectEntries);
cache = new VmCache<>(cacheExpirationMinutes * 60, maxCachedObjectEntries);
}
/**
......
Markdown is supported
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