Mastodon improvements #102

Merged
greg merged 7 commits from feature/mastodon_improvements into master 2019-10-09 11:02:47 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit dace5672e4 - Show all commits

View File

@ -4,6 +4,8 @@ node.default["kosmos-mastodon"]["streaming_port"] = 4000
node.default["kosmos-mastodon"]["server_name"] = "kosmos.social"
node.default["kosmos-mastodon"]["redis_url"] = "redis://localhost:6379/1"
node.default["kosmos-mastodon"]["sidekiq_threads"] = 25
# Allocate this amount of RAM to the Java heap for Elasticsearch
node.default["kosmos-mastodon"]["elasticsearch"]["allocated_memory"] = "1536m"
node.override["tor"]["HiddenServices"]["mastodon"] = {
"HiddenServicePorts" => ["80 127.0.0.1:80"]

View File

@ -36,7 +36,7 @@ elasticsearch_install 'elasticsearch' do
end
elasticsearch_configure 'elasticsearch' do
allocated_memory '1536m'
allocated_memory node["kosmos-mastodon"]["elasticsearch"]["allocated_memory"]
end
elasticsearch_service 'elasticsearch'