README.md in ears-0.10.1 vs README.md in ears-0.11.0
- old
+ new
@@ -1,9 +1,11 @@
# Ears
`Ears` is a small, simple library for writing RabbitMQ consumers.
+[![CodeQL](https://github.com/ivx/ears/actions/workflows/codeql.yml/badge.svg)](https://github.com/ivx/ears/actions/workflows/codeql.yml)
+
## Installation
Add this line to your application's Gemfile:
```ruby
@@ -28,10 +30,11 @@
require 'ears'
Ears.configure do |config|
config.rabbitmq_url = 'amqp://user:password@myrmq:5672'
config.connection_name = 'My Consumer'
- config.recover_from_connection_close = false, # optional configuration, defaults to true if not set
+ config.recover_from_connection_close = false # optional configuration, defaults to true if not set
+ config.recovery_attempts = 3 # optional configuration, defaults to 10, Bunny::Session would have been nil
end
```
_Note_: `connection_name` is a mandatory setting!