Skip to content

Conversation

@basert
Copy link
Contributor

@basert basert commented Oct 31, 2024

No description provided.


use Utopia\Queue\Connection;

class RedisCluster implements Connection
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here. lets extend the Redis class and override just the constructor and necessary methods

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't, protected function getRedis(): \RedisCluster cannot be overriden as we return a different type.

@basert basert changed the base branch from main to 0.7.x November 5, 2024 15:12
@christyjacob4 christyjacob4 merged commit 94c240d into 0.7.x Nov 5, 2024
@christyjacob4 christyjacob4 deleted the redis-cluster branch November 5, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants