redis-rb
redis-rb copied to clipboard
Feature request: When throwing a Timeout:Error, print the query too
I get random Timeout errors while connecting from my Rails app to Redis in AWS ElastiCache. It will make it a lot easier to debug if the exception message also contained the query which timed out. This way, I can be sure that the libraries I used are not doing a "SAVE" or "KEYS *".
@nileshtrivedi, to investigate your issue. It would be good, if you can provides more info from CloudWatch, such as:
- Were there high read/write throughputs when the timeout happened?
- Is the number of ElastiCache connections normal?
I don't think that's necessary.