Zihua Li

Results 343 comments of Zihua Li

Yes, `result[0][1]` should be of type string, and `result[1][1]` should be of type number, but because of TypeScript restrictions, we have to make them unknown. This makes `pipeline()` a bit...

Can you enable the debug mode and post the logs here? I got "ready" with following code: ```js const redis = new Cluster([30001], { enableReadyCheck: true }); async function main()...

Hey @evanlucas, thanks for the reproducible repo! Calling `.disconnect()` should properly clean up everything. We should take a look for a fix for `quit`.

Hey @evanlucas, let's leave this open as the root issue hasn't been fixed.

Hey @JanFellner 👋 `...args: [...patterns: string[]]` is actually the same as `...patterns: string[]` so you can continue using `obj.psubscribe("mypattern")`. The typing seems unnecessarily complex though. We should change it to...

Hi @liavsitruk 👋 , This is a bug that some newly added commands do not support `keyPrefix` well. I created a PR for this: https://github.com/luin/ioredis/pull/1610. However, I'm not sure we...

Hi @phatj, Thanks for the details! > a race condition that will sometimes move from the connect to ready state, thereby resetting the retryAttempts to 0 The link is pointed...

v5 allows users to provide scripts via constructor options: ```js const redis = new Redis({ scripts: { myecho: { lua: 'xxx' } } }); ``` I didn't think of this...

The only blocker I can think of for this is to find a URI spec for multi-endpoint.

> (and hgetallMapBuffer: Map) I definitely think it's useful to add it. However, I'm not sure if this is the right time to add it. For now, although ioredis is...