You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Can we possibly change CacheStack private accessors to protected?
I was thinking of being able to override "InternalSetAsync" with if (!await layer.IsAvailableAsync(cacheKey)) throw new RedisConnectionException(ConnectionFailureType.UnableToConnect, "Layer is not Available");
in order to avoid waiting for a timeout and instead throw or possibly handling the unavailability of the cache.
I could possibly clone it , however being able to override seemed a better option to me.
The text was updated successfully, but these errors were encountered:
Hello,
Can we possibly change CacheStack private accessors to protected?
I was thinking of being able to override "InternalSetAsync" with
if (!await layer.IsAvailableAsync(cacheKey)) throw new RedisConnectionException(ConnectionFailureType.UnableToConnect, "Layer is not Available");
in order to avoid waiting for a timeout and instead throw or possibly handling the unavailability of the cache.
I could possibly clone it , however being able to override seemed a better option to me.
The text was updated successfully, but these errors were encountered: