redis-rb icon indicating copy to clipboard operation
redis-rb copied to clipboard

Feature request: When throwing a Timeout:Error, print the query too

Open nileshtrivedi opened this issue 10 years ago • 1 comments

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 avatar Apr 17 '15 09:04 nileshtrivedi

@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?

taitran19 avatar Jul 22 '17 07:07 taitran19

I don't think that's necessary.

byroot avatar Aug 17 '22 18:08 byroot