1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00
Files
node-redis/packages/client
Mik13 0f28dad2a2 Execute empty MULTI (#2423)
* Fix multi.exec with empty queue and previous watch

When calling exec on a multi instance which you did not use, no command is sent currently.

This is a problem for watched keys, because no EXEC means no unwatch, which might cause hard-to-debug problems.

Proposed Fix: Sending UNWATCH

* execute empty multi command (instead of skipping)

* Update index.ts

* Update index.ts

* Update multi-command.ts

* Update multi-command.ts

* Update multi-command.ts

* Update multi-command.ts

* short circuit empty pipelines

* Update index.ts

---------

Co-authored-by: Leibale <me@leibale.com>
2023-02-24 17:33:16 -05:00
..
2023-02-24 17:33:16 -05:00
2021-11-16 02:48:20 -05:00
2021-11-16 02:48:20 -05:00
2022-12-26 13:35:37 -05:00
2021-11-16 02:48:20 -05:00
2023-01-30 14:27:42 -05:00
2022-05-02 11:48:12 -04:00
2022-04-25 08:24:33 -04:00

@redis/client

The source code and documentation for this package are in the main node-redis repo.