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
I'm writing a Redis-based IStorage provider (using ServiceStack.Redis) and am running into some funky situations where the Redis client's state becomes inconsistent. I am creating the Redis client using a factory function that queries the IoC container. I was wondering if we need to ensure that the IStorage implementations need to be thread-safe? As soon as I added locks around the Redis client operations, the inconsistencies stopped.
The text was updated successfully, but these errors were encountered:
I'm writing a Redis-based
IStorage
provider (using ServiceStack.Redis) and am running into some funky situations where the Redis client's state becomes inconsistent. I am creating the Redis client using a factory function that queries the IoC container. I was wondering if we need to ensure that theIStorage
implementations need to be thread-safe? As soon as I added locks around the Redis client operations, the inconsistencies stopped.The text was updated successfully, but these errors were encountered: