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

Commit 477ac66

Browse files
committed
increase default to 20 connections for PooledRedisClientManager
1 parent 60b8302 commit 477ac66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceStack.Redis/PooledRedisClientManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public partial class PooledRedisClientManager
3434
private const string PoolTimeoutError =
3535
"Redis Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use.";
3636

37-
protected readonly int PoolSizeMultiplier = 10;
37+
protected readonly int PoolSizeMultiplier = 20;
3838
public int RecheckPoolAfterMs = 100;
3939
public int? PoolTimeout { get; set; }
4040
public int? ConnectTimeout { get; set; }
@@ -125,7 +125,7 @@ public PooledRedisClientManager(
125125

126126
RedisResolver = new RedisResolver(masters, slaves);
127127

128-
this.PoolSizeMultiplier = poolSizeMultiplier ?? 10;
128+
this.PoolSizeMultiplier = poolSizeMultiplier ?? 20;
129129

130130
this.Config = config ?? new RedisClientManagerConfig
131131
{

0 commit comments

Comments
 (0)