X Tutup
Skip to content

Added $lazy_connect argument to RedisCluster's constructor#2753

Open
nicolas-grekas wants to merge 1 commit intophpredis:developfrom
nicolas-grekas:lazy-cluster
Open

Added $lazy_connect argument to RedisCluster's constructor#2753
nicolas-grekas wants to merge 1 commit intophpredis:developfrom
nicolas-grekas:lazy-cluster

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Contributor

Both Redis and RedisArray classes can be constructed in a way that makes them lazy-connecting to the Redis service.

This PR adds the same to RedisCluster with a new argument added to its constructor (the class has no $options array so we have to add an argument).

(Would be awesome to have in 6.3!)

@yatsukhnenko
Copy link
Copy Markdown
Member

I like this improvement but I think it's too dangerous to accept it to upcoming release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup