lib/propono/components/aws_client.rb in propono-2.1.0 vs lib/propono/components/aws_client.rb in propono-2.2.0
- old
+ new
@@ -41,10 +41,10 @@
end
def set_sqs_policy(queue, policy)
sqs_client.set_queue_attributes(
queue_url: queue.url,
- attributes: { "Policy": policy }
+ attributes: { Policy: policy }
)
end
def read_from_sqs(queue, num_messages, long_poll: true, visibility_timeout: nil)
wait_time_seconds = long_poll ? 20 : 0