Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 3d050a8

Browse files
authored
Merge pull request #245 from rsafier/master
Apply interfaces.
2 parents d92a471 + 9850449 commit 3d050a8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ServiceStack.Redis/RedisLock.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ namespace ServiceStack.Redis
77
public class RedisLock
88
: IDisposable
99
{
10-
private readonly RedisClient redisClient;
10+
private readonly IRedisClient redisClient;
1111
private readonly string key;
1212

13-
public RedisLock(RedisClient redisClient, string key, TimeSpan? timeOut)
13+
public RedisLock(IRedisClient redisClient, string key, TimeSpan? timeOut)
1414
{
1515
this.redisClient = redisClient;
1616
this.key = key;

src/ServiceStack.Redis/RedisManagerPool.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public RedisPoolConfig()
3737
/// Provides thread-safe pooling of redis client connections. All connections are treaded as read and write hosts.
3838
/// </summary>
3939
public partial class RedisManagerPool
40-
: IRedisClientsManager, IRedisFailover, IHandleClientDispose, IHasRedisResolver
40+
: IRedisClientsManager, IRedisFailover, IHandleClientDispose, IHasRedisResolver, IRedisClientCacheManager
4141
{
4242
private static readonly ILog Log = LogManager.GetLogger(typeof(RedisManagerPool));
4343

0 commit comments

Comments
 (0)