Skip to content
Snippets Groups Projects

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

Merged 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

Pipeline #70115 passed

Pipeline passed for 0ba09475 on malowe/main/1.2.4-release

Approved by

Merged by Martin LoweMartin Lowe 7 months ago (Apr 9, 2025 4:46pm UTC)

Merge details

  • Changes merged into main with 0ba09475.
  • Deleted the source branch.

Pipeline #70346 passed

Pipeline passed for 0ba09475 on main

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading