Drop redis namespace code (except for Rails cache) (#34665)
This commit is contained in:
parent
f94b1fce41
commit
6d6263ce07
5 changed files with 10 additions and 66 deletions
|
@ -17,7 +17,7 @@ class StreamingServerManager
|
|||
@running_thread = Thread.new do
|
||||
Open3.popen2e(
|
||||
{
|
||||
'REDIS_NAMESPACE' => REDIS_CONFIGURATION.base[:namespace],
|
||||
'REDIS_DB' => (ENV.fetch('TEST_ENV_NUMBER', 0).to_i + 1).to_s,
|
||||
'DB_NAME' => "#{ENV.fetch('DB_NAME', 'mastodon')}_test#{ENV.fetch('TEST_ENV_NUMBER', '')}",
|
||||
'RAILS_ENV' => ENV.fetch('RAILS_ENV', 'test'),
|
||||
'NODE_ENV' => ENV.fetch('STREAMING_NODE_ENV', 'development'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue