philosophies-suspenders 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/suspenders/version.rb +1 -1
- data/templates/puma.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc9b1f8ca13189e6e259fc04a7a277c460c1a114
|
4
|
+
data.tar.gz: cd78a0c667fd7dfe5f4c11095dbc1969c048ba36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a343cc5946cac908e8339053753b7e011a1be535c59d175a550fb3999781f1c3748b66c996841f0999ec252b9983843e756ef3e000194f5b007c1e28f67a5387
|
7
|
+
data.tar.gz: c10fddcbeaeee5d5d786b6410e8af3ef32ffec7baab32bd110bce5b3e201e18b1361ddbe940c0b9f4f3eec972cabc0dc13ecf65b4e1267232cd899803f6fb681
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
philosophies-suspenders (2.2.
|
4
|
+
philosophies-suspenders (2.2.1)
|
5
5
|
bundler (~> 1.3)
|
6
6
|
rails (~> 5.0.0)
|
7
7
|
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
i18n (~> 0.7)
|
46
46
|
minitest (~> 5.1)
|
47
47
|
tzinfo (~> 1.1)
|
48
|
-
arel (7.
|
48
|
+
arel (7.1.0)
|
49
49
|
builder (3.2.2)
|
50
50
|
byebug (4.0.5)
|
51
51
|
columnize (= 0.9.0)
|
@@ -120,7 +120,7 @@ GEM
|
|
120
120
|
rspec-support (~> 3.3.0)
|
121
121
|
rspec-support (3.3.0)
|
122
122
|
slop (3.6.0)
|
123
|
-
sprockets (3.
|
123
|
+
sprockets (3.7.0)
|
124
124
|
concurrent-ruby (~> 1.0)
|
125
125
|
rack (> 1, < 3)
|
126
126
|
sprockets-rails (3.1.1)
|
data/lib/suspenders/version.rb
CHANGED
data/templates/puma.rb
CHANGED
@@ -12,14 +12,15 @@
|
|
12
12
|
# Starting with a low number of workers and threads provides adequate
|
13
13
|
# performance for most applications, even under load, while maintaining a low
|
14
14
|
# risk of overusing memory.
|
15
|
-
workers Integer(ENV.fetch(
|
16
|
-
threads_count = Integer(ENV.fetch(
|
15
|
+
workers Integer(ENV.fetch('WEB_CONCURRENCY', 2))
|
16
|
+
threads_count = Integer(ENV.fetch('MAX_THREADS', 2))
|
17
17
|
threads(threads_count, threads_count)
|
18
18
|
|
19
19
|
preload_app!
|
20
20
|
|
21
21
|
rackup DefaultRackup
|
22
|
-
|
22
|
+
port ENV.fetch('PORT', 3000)
|
23
|
+
environment ENV.fetch('RACK_ENV', 'development')
|
23
24
|
|
24
25
|
on_worker_boot do
|
25
26
|
# Worker specific setup for Rails 4.1+
|