The discussion revolves around changing the Redis connection timeout in Discourse. Shane_Liebling wants to increase the timeout to resolve issues with a remote Redis instance and disable CLIENT operations.
Falco initially suggests modifying the Redis configuration, but Shane_Liebling clarifies that the change is needed on the client side. Falco then suggests creating a pull request (PR) to add a setting for the Redis timeout.
Additionally, Shane_Liebling mentions the need to disable CLIENT operations by setting “id = nil” due to restrictions in some Redis setups, specifically with Google Cloud’s Memorystore.
Falco agrees that a PR to allow setting custom Redis client ID and timeout is a good idea. However, Shane_Liebling is unable to submit the PR due to release form restrictions.
I keep getting timeouts from redis/hiredis and would like to increase the timeout to see if it fixes the issue. (I am connecting to a remote redis instance, not on the same instance as Discourse.)
Additionally I need to turn off CLIENT operations as well. Afaict both of these would be done in a redis.config{} stanza but I’d prefer not to have to go in and patch the code.
I’m sure I am misunderstanding something here, but when I see /etc/… I assume that is happening on the vm running the redis server. Am I wrong in that reading?
I am trying to change how the Discourse rails app communicates with the remote redis instance so that it (the client side) will make those calls with a longer timeout.
Some Redis setups (specifically cloud providers) do not allow the CLIENT operation. You can prevent this from occurring by setting “id = nil” in the redis configuration. This is an issue I have run into with sidekiq.
I don’t think we ever hit this in AWS Elasticache offering, and also didn’t hear anything from colleagues working with Azure. What is the cloud provider that is failing for you?
Unfortunately I am currently not allowed by my job to sign your release form. I could try to get my SVP to okay it, but I would bet it would take a month or two.