You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: clears commandTimeout timer as each respective command gets fulfilled (#1336)
* making commandTimeout clean successful timers and work in cluster mode
* deleting timer attribution solves an issue with transactions; cluster command doesn't need any special behaviour after all
* adding attribute annotation to keep typescript happy.
* thought setTimeout returned a number, apparently not
* this time I ran `npm run build` locally first
* addressing feedback
* Clear timeouts for commands in offline queue
When client is not ready, Redis#sendCommand() will move
commands to the offline queue, and once ready, all commands
in the offline queue will be sent with Redis#sendCommand()
again. So we should check whether the timer has been set.
* Address feedbacks
Co-authored-by: luin <i@zihua.li>
0 commit comments