Skip to content

Commit 6f82514

Browse files
committed
Readme update
1 parent c03f3a7 commit 6f82514

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ import createRedisHandler from "@fortedigital/nextjs-cache-handler/redis-strings
166166

167167
const redisHandler = await createRedisHandler({
168168
client: createSentinel({
169-
url: process.env.REDIS_URL,
169+
name: 'sentinel-db',
170+
sentinelRootNodes: [{
171+
host: 'example',
172+
port: 1234
173+
}]
170174
}),
171175
keyPrefix: "myApp:",
172176
sharedTagsKey: "myTags",

0 commit comments

Comments
 (0)