-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
Hi,
I am trying to add a name to my client when I create it.
On Python, I can do:
cache = redis.Redis(
host='redis',
port=6379,
client_name='flask-app'
)However I don't find how to do it with node-redis.
Here is how I create my client:
const client = createClient({
socket: {
host: 'redis',
port: 6379
}
})I looked at the types definition inside the package but I haven't find something yet.
Should I add it elsewhere?
Thank you,
Tom.