DEV: Remove accidentally hardcoded Redis port in docker.rake (#23455)

Follow up to 9caba30d5c
This commit is contained in:
Alan Guo Xiang Tan 2023-09-07 14:22:14 +08:00 committed by GitHub
parent 71595647a5
commit 1f0a78fb82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ def setup_redis
log "Starting background redis"
data_directory = "#{Rails.root}/tmp/test_data/redis"
`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
def migrate_databases(parallel: false, load_plugins: false)