Commit 72fd27e789e1c0acc1e90b24180a8a7e825e4f63
1 parent
eaddd0a7
Exists in
master
and in
79 other branches
Allow to set workers per-environment
Showing
5 changed files
with
9 additions
and
5 deletions
Show diff stats
config/local/config.yaml
config/prod/config.yaml
cookbooks/colab/recipes/default.rb
... | ... | @@ -46,10 +46,7 @@ execute 'secret-key' do |
46 | 46 | notifies :create, 'template[/etc/colab/settings.d/00-custom_settings.py]' |
47 | 47 | end |
48 | 48 | |
49 | -template '/etc/sysconfig/colab' do | |
50 | - owner 'root' | |
51 | - group 'root' | |
52 | - mode '0640' | |
49 | +template '/etc/colab/gunicorn.py' do | |
53 | 50 | notifies :restart, 'service[colab]' |
54 | 51 | end |
55 | 52 | ... | ... |
cookbooks/colab/templates/colab.erb
... | ... | @@ -1 +0,0 @@ |
1 | -WEB_CONCURRENCY=<%= `nproc`.to_i * 4 %> |