Skip to content

Commit

Permalink
cache ttl handling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Mar 5, 2018
1 parent db9f7a7 commit ec4a5a1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -113,7 +113,7 @@ public void initialize() {
if (cacheMaxTTL == null || cacheMaxTTL < 0) {
cacheMaxTTL = 0;
}
this.cacheMaxTTL = cacheMaxTTL;
this.cacheMaxTTL = cacheMaxTTL * 1000;
}

private static Cache getCache() {
Expand Down

0 comments on commit ec4a5a1

Please sign in to comment.