dice icon indicating copy to clipboard operation
dice copied to clipboard

#201: Fix for expired key crash

Open apoorvyadav1111 opened this issue 6 months ago • 3 comments

In file store.go, func Del(k) requires both locks to delete the key, however, in Get(k), we were releasing only one. This fix implements releasing both locks before calling Del(k) and acquiring both locks again. Tested manually on local: image

apoorvyadav1111 avatar Aug 02 '24 19:08 apoorvyadav1111