mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 11:44:44 +08:00
DEV: Remove accidentally hardcoded Redis port in docker.rake
(#23455)
Follow up to 9caba30d5c
This commit is contained in:
parent
71595647a5
commit
1f0a78fb82
|
@ -28,7 +28,7 @@ def setup_redis
|
||||||
log "Starting background redis"
|
log "Starting background redis"
|
||||||
data_directory = "#{Rails.root}/tmp/test_data/redis"
|
data_directory = "#{Rails.root}/tmp/test_data/redis"
|
||||||
`rm -rf #{data_directory} && mkdir -p #{data_directory}`
|
`rm -rf #{data_directory} && mkdir -p #{data_directory}`
|
||||||
Process.spawn("redis-server --dir #{data_directory} --port 1234")
|
Process.spawn("redis-server --dir #{data_directory}")
|
||||||
end
|
end
|
||||||
|
|
||||||
def migrate_databases(parallel: false, load_plugins: false)
|
def migrate_databases(parallel: false, load_plugins: false)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user