magic_recipes_two 0.0.13 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0e692f2c70b3198d0807baa2219fc8fb3329749
|
4
|
+
data.tar.gz: 6c2a860bb1e49c17a5f6e9277a0e7b09e73dfb71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da91a6d3326ee93e7b14503a5a25886a2fa7f7659db501e8dea38a49d11ad52f4a202aa43db2fc43f2d057b61e5e9cd1d4646c3587fa5fded31026f33760defa
|
7
|
+
data.tar.gz: 753eb37f0b170fd94f4d4a2d687f8ff2f6a0b34cbeda59a5c61decdc75fa34eb1da240843cad696866b35af3ab7865be99d1b7086f18d9a0efca754baa66d190
|
@@ -3,13 +3,21 @@ include Capistrano::MagicRecipes::BaseHelpers
|
|
3
3
|
|
4
4
|
namespace :load do
|
5
5
|
task :defaults do
|
6
|
-
|
7
|
-
set :
|
6
|
+
|
7
|
+
set :thin_path, -> { '/etc/thin' }
|
8
|
+
set :thin_roles, -> { :web }
|
9
|
+
|
10
|
+
set :thin_timeout, -> { 30 }
|
11
|
+
set :thin_max_conns, -> { 1024 }
|
12
|
+
set :thin_max_persistent_conns, -> { 512 }
|
13
|
+
set :thin_require, -> { [] }
|
14
|
+
set :thin_wait, -> { 90 }
|
15
|
+
set :thin_onebyone, -> { true }
|
16
|
+
|
8
17
|
end
|
9
18
|
end
|
10
19
|
|
11
20
|
|
12
|
-
|
13
21
|
namespace :thin do
|
14
22
|
|
15
23
|
|
@@ -3,17 +3,17 @@ adapter: rails
|
|
3
3
|
chdir: <%= current_path %>
|
4
4
|
environment: <%= fetch(:rails_env) %>
|
5
5
|
rackup: <%= current_path %>/config.ru
|
6
|
-
timeout:
|
6
|
+
timeout: <%= fetch(:thin_timeout) %>
|
7
7
|
# address: 127.0.0.1
|
8
8
|
# port: 4000
|
9
9
|
log: <%= deploy_to %>/shared/log/thin_<%= fetch(:application) %>_<%= fetch(:stage) %>.log
|
10
10
|
pid: <%= deploy_to %>/shared/pids/thin_<%= fetch(:application) %>_<%= fetch(:stage) %>.pid
|
11
|
-
max_conns:
|
12
|
-
max_persistent_conns:
|
13
|
-
require:
|
14
|
-
wait:
|
11
|
+
max_conns: <%= fetch(:thin_max_conns) %>
|
12
|
+
max_persistent_conns: <%= fetch(:thin_max_persistent_conns) %>
|
13
|
+
require: <%= fetch(:thin_require) %>
|
14
|
+
wait: <%= fetch(:thin_wait) %>
|
15
15
|
servers: <%= fetch(:app_instances) %>
|
16
16
|
# user: <%= fetch(:user) %>
|
17
17
|
socket: /tmp/thin.<%= fetch(:application) %>.<%= fetch(:stage) %>.sock
|
18
18
|
daemonize: true
|
19
|
-
onebyone:
|
19
|
+
onebyone: <%= fetch(:thin_onebyone) %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magic_recipes_two
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Torsten Wetzel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -151,7 +151,6 @@ files:
|
|
151
151
|
- lib/generators/capistrano/magic_recipes/templates/postgresql.yml.erb
|
152
152
|
- lib/generators/capistrano/magic_recipes/templates/secrets_yml.erb
|
153
153
|
- lib/generators/capistrano/magic_recipes/templates/thin_app_yml.erb
|
154
|
-
- lib/magic_recipes_two/version.rb
|
155
154
|
- lib/magic_recipes_two.rb
|
156
155
|
- lib/tasks/magic_recipes_two_tasks.rake
|
157
156
|
- MIT-LICENSE
|