README.md in propono-2.0.0 vs README.md in propono-2.1.0
- old
+ new
@@ -100,9 +100,21 @@
config.max_retries = "The number of retries if a message raises an exception before being placed on the failed queue"
config.num_messages_per_poll = "The number of messages retrieved per poll to SQS"
end
```
+### Options
+
+#### Visiblity Timeout
+
+For certain tasks (e.g. video processing), being able to hold messages for longer is important. To achieve this, the [visibility timeout of a message](http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-visibility-timeout.html) can be changed on the call to listen. e.g.
+
+```
+client.listen('long-running-tasks', visiblity_timeout: 3600) do |message|
+ puts "I just received: #{message}"
+end
+```
+
These can all also be set using the `client.config.access_key = "..."` syntax.
### Is it any good?
[Yes.](http://news.ycombinator.com/item?id=3067434)