README.md in global-registry-bindings-0.1.6 vs README.md in global-registry-bindings-0.1.7
- old
+ new
@@ -17,11 +17,22 @@
GlobalRegistry.configure do |config|
config.access_token = ENV['GLOBAL_REGISTRY_TOKEN'] || 'fake'
config.base_url = ENV['GLOBAL_REGISTRY_URL'] || 'https://backend.global-registry.org'
end
```
-
Make sure sidekiq is configured. See [Using Redis](https://github.com/mperham/sidekiq/wiki/Using-Redis) for information.
+
+### Aditional Sidekiq Configuration
+
+The `global-registry-bindings` gem allows for configuring default sidekiq options for all workers. You can configure
+this by creating a custom initializer, or adding to the global_registry initializer the following.
+```ruby
+GlobalRegistry::Bindings.configure do |config|
+# Run global-registry-bindings workers in a :custom queue
+ config.sidekiq_options = { queue: :custom }
+end
+```
+Custom sidekiq options will apply to all Global Registry Bindings sidekiq Workers.
## Usage
To make use of `global-registry-bindings` your model will need a few additional columns.
To push models to Global Registry, you will need a `global_registry_id` column. You additionally need a