valkey-py icon indicating copy to clipboard operation
valkey-py copied to clipboard

async cluster, connection after aclose

Open amirreza8002 opened this issue 2 months ago • 1 comments

hi one thing i'm noticing is that with the sync cluster client, after close is called, you can no longer operate on server, so valkey.get("a") raises an exception

but with the async version, you can still work so await valkey.set("a", "b") sets the valkeu in server and await valkey.get("a") will return the result from server

latest valkey-py version (latest commit from github) valkey 8.1.3

amirreza8002 avatar Sep 22 '25 11:09 amirreza8002