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
Query timeout shorter than specified #51
Comments
Hmm, this is very weird. Maybe it's the "SADD" that times out? Are you also using a 60 second timeout there? |
Good catch. So the problem seems to be of different nature than I originally thought. The |
Hmm, okay. Is the process sending the In general, one |
The setup is like this. One process (not spawned from the shell, but a supervised gen_server already running in the system) is doing With my current understanding it looks like the timeouts of the two Using a different |
Okay, this makes sense to me now. :-) Commands to Redis are executed in the order they arrive to the If a In this case, where some commands execute instantly, while others are extremely slow, using two clients like you are currently doing makes sense. |
Using a timeout of 60s like this
eredis:q(pid(0,17393,766), ["SMEMBERS", "access_64628"], 60000).
I still get a timeout after 5s. It looks to me as if another
gen_server:call
is triggered internally with the default timeout.Any pointers where to start looking for a fix?
Cheers,
Martin
The text was updated successfully, but these errors were encountered: