Open sidbatra opened 12 years ago
Creating an Sqs object with the :connection_mode => :single is supposed to open a persistent connection to queue.amazonaws.com.
Sqs
:connection_mode => :single
However, after a period of inactivity ( ~2 minutes) when a new message is pushed onto the queue the following message is seen:
Rightscale::HttpConnection : server queue.amazonaws.com closed connection Opening new HTTPS connection to queue.amazonaws.com:443
This slows down pushing that message by ~500ms. Is there any way to fix this?
thanks!
Hello The message says that a remote server closed current connection... Not sure we can do much here. But I'm not sure I understand ":connection_mode => :single" option. What right_aws version do you use?
Creating an
Sqs
object with the:connection_mode => :single
is supposed to open a persistent connection to queue.amazonaws.com.However, after a period of inactivity ( ~2 minutes) when a new message is pushed onto the queue the following message is seen:
This slows down pushing that message by ~500ms. Is there any way to fix this?
thanks!