Closed rueian closed 1 month ago
Closes #602
This PR keeps using the same event watcher of client-side caching during the retries of rueidislock.WithContext and watches the event for retrying.
rueidislock.WithContext
Previously, there was a race that could lead to the removal of the watcher thus causing busy retries and missing events.
Closes #602
This PR keeps using the same event watcher of client-side caching during the retries of
rueidislock.WithContext
and watches the event for retrying.Previously, there was a race that could lead to the removal of the watcher thus causing busy retries and missing events.