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

Commit 65646a3

Browse files
committed
fix typo
1 parent d3b7d68 commit 65646a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ServiceStack.Redis/PooledRedisClientManager.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,22 +104,22 @@ public PooledRedisClientManager(
104104
public PooledRedisClientManager(
105105
IEnumerable<string> readWriteHosts,
106106
IEnumerable<string> readOnlyHosts,
107-
long initalDb)
108-
: this(readWriteHosts, readOnlyHosts, null, initalDb, null, null)
107+
long initialDb)
108+
: this(readWriteHosts, readOnlyHosts, null, initialDb, null, null)
109109
{
110110
}
111111

112112
public PooledRedisClientManager(
113113
IEnumerable<string> readWriteHosts,
114114
IEnumerable<string> readOnlyHosts,
115115
RedisClientManagerConfig config,
116-
long? initalDb,
116+
long? initialDb,
117117
int? poolSizeMultiplier,
118118
int? poolTimeOutSeconds)
119119
{
120120
this.Db = config != null
121-
? config.DefaultDb ?? initalDb
122-
: initalDb;
121+
? config.DefaultDb ?? initialDb
122+
: initialDb;
123123

124124
var masters = (readWriteHosts ?? TypeConstants.EmptyStringArray).ToArray();
125125
var replicas = (readOnlyHosts ?? TypeConstants.EmptyStringArray).ToArray();

0 commit comments

Comments
 (0)