Skip to content

Commit

Permalink
Handle expireAfterWrite properly in the redis-cache config
Browse files Browse the repository at this point in the history
Fix quarkusio#37479

(cherry picked from commit 26da86d)
  • Loading branch information
cescoffier authored and gsmet committed Dec 11, 2023
1 parent 9103b47 commit ea83a87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static Set<RedisCacheInfo> build(Set<String> cacheNames, RedisCachesBuild

if (namedRuntimeConfig != null && namedRuntimeConfig.expireAfterWrite.isPresent()) {
cacheInfo.expireAfterWrite = namedRuntimeConfig.expireAfterWrite;
} else if (defaultRuntimeConfig.expireAfterAccess.isPresent()) {
} else if (defaultRuntimeConfig.expireAfterWrite.isPresent()) {
cacheInfo.expireAfterWrite = defaultRuntimeConfig.expireAfterWrite;
}

Expand Down

0 comments on commit ea83a87

Please sign in to comment.