-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate the use of Redis namespaces
As described in sidekiq/sidekiq#2586 and http://www.mikeperham.com/2015/09/24/storing-data-with-redis/, Sidekiq 4.0 dropped the use of redis-namespace. Let's follow suit and deprecate this dependency.
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -247,7 +247,7 @@ Delivery options: | |
Required, defaults to `redis://localhost:6379`. | ||
- **sentinels**: A list of sentinels servers used to provide HA to Redis. (see [Sentinel Support](#sentinel-support)) | ||
Optional. | ||
- **namespace**: The Redis namespace Sidekiq works under. Use the same Redis namespace that's used to configure Sidekiq. | ||
- **namespace**: [DEPRECATED] The Redis namespace Sidekiq works under. Use the same Redis namespace that's used to configure Sidekiq. | ||
Optional. | ||
- **queue**: The Sidekiq queue the job is pushed onto. Make sure Sidekiq actually reads off this queue. | ||
Required, defaults to `default`. | ||
|
@@ -391,7 +391,7 @@ When running multiple instances of MailRoom against a single mailbox, to try to | |
:arbitration_options: | ||
# The Redis server to connect with. Defaults to redis://localhost:6379. | ||
:redis_url: redis://redis.example.com:6379 | ||
# The Redis namespace to house the Redis keys under. Optional. | ||
# [DEPRECATED] The Redis namespace to house the Redis keys under. Optional. | ||
:namespace: mail_room | ||
- | ||
:email: "[email protected]" | ||
|
@@ -411,7 +411,7 @@ When running multiple instances of MailRoom against a single mailbox, to try to | |
- | ||
:host: 127.0.0.1 | ||
:port: 26379 | ||
# The Redis namespace to house the Redis keys under. Optional. | ||
# [DEPRECATED] The Redis namespace to house the Redis keys under. Optional. | ||
:namespace: mail_room | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters