fix(cache): Add try-catch for connection errors when clearing cache
Compare changes
@@ -42,241 +42,259 @@ import jakarta.ws.rs.core.MultivaluedMap;
Previous code had no error handling in the case of Redis service being unavailable, which made the cache less reliable. Additionally, there was no cleaing of the underlying in-memory cache for fallback data, which could result in data not being properly cleared.
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent