govuk_app_config 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a128bd40ec0db6c4e7b792fc2c24cbdc31c1aff62a5be05a04d279da4ebf502b
4
- data.tar.gz: 890eebef66ab4e625f7a8c34fe3dfeed9b39a3d1f83ec48d3ca71a7f1f286c0b
3
+ metadata.gz: b788dbdfae3db4941f1cef997e26afd78a3f0f47671f6d43390bf177ceeb42ad
4
+ data.tar.gz: 58eeaf15b06bfa4e5c5c92e037c8b244238f56eab244024adbffa7ec4293e16b
5
5
  SHA512:
6
- metadata.gz: f03074bb2adf21510b86ec9786bdd205f65cd2bbc4d8e1fe94f01f5f2c33d9b3c060ce612b919ceccdf607b58f1118db6cb3da0395a438cba30ec3a38978fc42
7
- data.tar.gz: cdec791c828fb80e08bba9bac8118a324b6b3e472613b46aa30f4bc921c3ec982da559d6d089258cdfe1506925ff3987ed55818bcf4f781d037587b5a80b2c2f
6
+ metadata.gz: bc5ede14ad32bc671fec429d862b52ea64440462450d85680925f75ea674d0b99b8b3e04044e619c6422bb0e4804ca6558ce81c1e8626a54b88d264e6ddfd899
7
+ data.tar.gz: 6b8cc2ee252d762d9f02da4599a3535b34757709a67b936b4abe58322960e29edd48850003a4547f6d1d9585dc35e8df7c60fa19ff3a99506c0655edf5cac16b
@@ -1,3 +1,8 @@
1
+ # 1.15.0
2
+
3
+ * Allow configuring the unicorn timeout through the `UNICORN_TIMEOUT`
4
+ environment variable (default: 60).
5
+
1
6
  # 1.14.0
2
7
 
3
8
  * Add content security policy support.
@@ -2,6 +2,8 @@ module GovukUnicorn
2
2
  def self.configure(config)
3
3
  config.worker_processes Integer(ENV.fetch("UNICORN_WORKER_PROCESSES", 2))
4
4
 
5
+ config.timeout = Integer(ENV.fetch("UNICORN_TIMEOUT", 60))
6
+
5
7
  if ENV["GOVUK_APP_LOGROOT"]
6
8
  config.stdout_path "#{ENV['GOVUK_APP_LOGROOT']}/app.out.log"
7
9
  config.stderr_path "#{ENV['GOVUK_APP_LOGROOT']}/app.err.log"
@@ -1,3 +1,3 @@
1
1
  module GovukAppConfig
2
- VERSION = "1.14.0"
2
+ VERSION = "1.15.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_app_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-05 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-xray-sdk