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

Commit e2373b9

Browse files
committed
Update README.md
1 parent 4a75559 commit e2373b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ var sentinelHosts = new[]{ "sentinel1", "sentinel2:6390", "sentinel3" };
350350
var sentinel = new RedisSentinel(sentinelHosts, masterName: "mymaster");
351351
```
352352

353-
This configues a `RedisSentinel` with 3 sentinel hosts looking at **mymaster** group.
353+
This configures a `RedisSentinel` with 3 sentinel hosts looking at **mymaster** group.
354354
As the default port for sentinels when unspecified is **26379** and how RedisSentinel is able to
355355
auto-discover other sentinels, the minimum configuration required is with a single Sentinel host:
356356

@@ -365,7 +365,7 @@ flexibility of [Redis Connection Strings](#redis-connection-strings) to apply co
365365
individual Redis Clients you need to register a custom `HostFilter`:
366366

367367
```csharp
368-
sentinel.HostFilter = host => "{0}?db=1&RetryTimeout=5000".Fmt(host);
368+
sentinel.HostFilter = host => "{host}?db=1&RetryTimeout=5000";
369369
```
370370

371371
An alternative to using connection strings for configuring clients is to modify

0 commit comments

Comments
 (0)