mirror of
https://github.com/phpredis/phpredis.git
synced 2026-06-19 07:35:31 +00:00
Implement MSETEX for RedisCluster
We also need to revisit the multi key command logic (MSET, DEL, and friends). We may want to create a "per slot" distribution mechanism.
This commit is contained in:
committed by
Michael Grunder
parent
bd4989e004
commit
41922b6740
@@ -760,6 +760,11 @@ class RedisCluster {
|
||||
*/
|
||||
public function msetnx(array $key_values): RedisCluster|array|false;
|
||||
|
||||
/**
|
||||
* @see \Redis::msetex()
|
||||
*/
|
||||
public function msetex(array $key_vals, int|float|array|null $expiry = null): Redis|int|false;
|
||||
|
||||
/* We only support Redis::MULTI in RedisCluster but take the argument
|
||||
so we can test MULTI..EXEC with RedisTest.php and in the event
|
||||
we add pipeline support in the future. */
|
||||
|
||||
Reference in New Issue
Block a user