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

PhpRedis client is ignoring timeout on set(). #2428

Open
NizarBlond opened this issue Dec 7, 2023 · 0 comments
Open

PhpRedis client is ignoring timeout on set(). #2428

NizarBlond opened this issue Dec 7, 2023 · 0 comments

Comments

@NizarBlond
Copy link

NizarBlond commented Dec 7, 2023

I'm using PhpRedis 6.0.2 on a single instance and I have set 'read_timeout' and 'timeout' to 1 second.
Also, I have tested the values using the getter methods.

The problem is that I get execution timeout from PHP on set(), which means it is not respecting the timeouts set for Redis.

I suspect that 'timeout' refers to the connection timeout (could see that in the c code) and read_timeout is clear from its name.
If that's the case, anyway to resolve timeout issues on write operations?

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

No branches or pull requests

1 participant