forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Recompute cached value when the Redis connection fails.
If the Redis client cannot connect to Redis (and only in this case), recompute the value. The value is neither cached nor written in the cache, making the cache implementation more robust to transient network issues. A log message (warning) has been added to detect the issue. Co-authored-by: Monhemius, B. (Bart) <[email protected]> Co-authored-by: Clement Escoffier <[email protected]>
- Loading branch information
1 parent
54df528
commit c2b4860
Showing
2 changed files
with
77 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters