hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

fix: remove old data while deserialization error from cache

Open dracarys18 opened this issue 1 year ago • 0 comments

Type of Change

  • [x] Bugfix

Description

In case of a contract change the old data in redis would cause deserialization error, So remove the old data from redis and insert the new value.

Motivation and Context

This fixes deserialation error on old data in redis.

How did you test it?

Manual

Checklist

  • [x] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by cargo clippy
  • [x] I reviewed submitted code

dracarys18 avatar Apr 27 '23 08:04 dracarys18