Drop Redis namespace support
This commit is contained in:
parent
ed61ef6d6a
commit
5f986464da
4 changed files with 8 additions and 7 deletions
|
|
@ -26,6 +26,14 @@ changed. diaspora\* will no longer listen on `0.0.0.0:3000` as it will now
|
||||||
bind to an UNIX socket at `unix:tmp/diaspora.sock`. Please change your local
|
bind to an UNIX socket at `unix:tmp/diaspora.sock`. Please change your local
|
||||||
`diaspora.yml` if necessary.
|
`diaspora.yml` if necessary.
|
||||||
|
|
||||||
|
## Redis namespace support dropped
|
||||||
|
|
||||||
|
We dropped support for Redis namespaces in this release. If you previously set
|
||||||
|
a custom namespace, please note that diaspora\* will no longer use the
|
||||||
|
configured value. By default, Redis supports up to 8 databases which can be
|
||||||
|
selected via the Redis URL in `diaspora.yml`. Please check the examples
|
||||||
|
provided in our configuration example file.
|
||||||
|
|
||||||
## Terms of Use design changes
|
## Terms of Use design changes
|
||||||
|
|
||||||
With the port to Bootstrap 3, app/views/terms/default.haml has a new structure. If you have created a customised app/views/terms/terms.haml or app/views/terms/terms.erb file, you will need to edit those files to base your customisations on the new default.haml file.
|
With the port to Bootstrap 3, app/views/terms/default.haml has a new structure. If you have created a customised app/views/terms/terms.haml or app/views/terms/terms.erb file, you will need to edit those files to base your customisations on the new default.haml file.
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@ defaults:
|
||||||
require_ssl: true
|
require_ssl: true
|
||||||
single_process_mode: false
|
single_process_mode: false
|
||||||
sidekiq:
|
sidekiq:
|
||||||
namespace:
|
|
||||||
concurrency: 5
|
concurrency: 5
|
||||||
retry: 10
|
retry: 10
|
||||||
backtrace: 15
|
backtrace: 15
|
||||||
|
|
|
||||||
|
|
@ -85,10 +85,6 @@ configuration: ## Section
|
||||||
## Set it to false to disable it completely.
|
## Set it to false to disable it completely.
|
||||||
#retry: 10
|
#retry: 10
|
||||||
|
|
||||||
## Namespace to use in Redis. Useful if you need to run
|
|
||||||
## multiple instances of Diaspora using the same Redis instance.
|
|
||||||
#namespace: "diaspora"
|
|
||||||
|
|
||||||
## Lines of backtrace that are stored on failure (default=15).
|
## Lines of backtrace that are stored on failure (default=15).
|
||||||
## Set n to the required value. Set this to false to reduce memory
|
## Set n to the required value. Set this to false to reduce memory
|
||||||
## usage (and log size) if you're not interested in this data.
|
## usage (and log size) if you're not interested in this data.
|
||||||
|
|
|
||||||
|
|
@ -120,8 +120,6 @@ module Configuration
|
||||||
redis_options[:url] = redis_url
|
redis_options[:url] = redis_url
|
||||||
end
|
end
|
||||||
|
|
||||||
redis_options[:namespace] = AppConfig.environment.sidekiq.namespace.get
|
|
||||||
|
|
||||||
redis_options
|
redis_options
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue