Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include redisSock's persistent_id in persistent connection pool persistent_id string #2425

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

thor-son
Copy link

When use dbNumber 0 and not use select command after redis connect, pconnect return already selected db redisConn.
So use persistent_id for identified redisConn. But Not work.
This issue was opened. #1920
And not match in README.md description.

$redis->pconnect('127.0.0.1', 6379, 2.5, 'x'); // x is sent as persistent_id and would be another connection than the three before.

All connection pool contained or not persistent_id return same persistent_id.
Of course it can be solved by using redis.pconnect.pool_pattern, Default option users will have a hard time understanding why an issue occurs.
This issue start at 5.0.0 version's commit. 8206b14

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.

None yet

1 participant