Skip to content

fix(cache): Add try-catch for connection errors when clearing cache

Martin Lowe requested to merge malowe/main/1.2.4-release into main
  • fix(cache): Add try-catch for connection errors when clearing cache

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.

Merge request reports

Loading