Skip to content

Commit e544bcd

Browse files
committed
feat: add CLIENT SETNAME for connection identification
Adds connectionName="openmemory_vector_store_client" to the ioredis client options so the connection is identifiable via CLIENT LIST on the server. Fixes #182 Signed-off-by: Anna Tao <annatao2004@gmail.com>
1 parent de39bcd commit e544bcd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/openmemory-js/src/core/vector

packages/openmemory-js/src/core/vector/valkey.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class ValkeyVectorStore implements VectorStore {
1111
host: env.valkey_host || "localhost",
1212
port: env.valkey_port || 6379,
1313
password: env.valkey_password,
14+
connectionName: "openmemory_vector_store_client",
1415
});
1516
}
1617

0 commit comments

Comments
 (0)