Forum: Ruby on Rails visibility timeout issue in right_aws gem

881a236ca533281bb9c9ac92f380b5a0?d=identicon&s=25 prabhu (Guest)
on 2014-06-23 07:58
(Received via mailing list)
I have a rails application and I am using amazon sqs for queuing
I am trying to create a queue with right_aws gem by setting the
timeout as 60 sec for the queue. Though I am able to create queue names,
is not applying the timeout value which I have specified while creation
queue name. It still shows the default timeout value(i.e 30)..

In my rails initializers I am creating queue as

    sqs ="ABCC","DEFG")

    #creating regular and priority queues
    $regular_queue = RightAws::SqsGen2::Queue.create(sqs,
    $priority_queue =

But in the logger when I try to print the timeout attribute for both
($regular_queue and $priority_queue), it shows as "30"

Please help.
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.