negroku 2.8.3 → 2.8.4

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
  SHA1:
3
- metadata.gz: 00e4a34499f2fa1ff377fe452b716ae0d2ab81e4
4
- data.tar.gz: 857d0ec7d2bac09ad7b2a5e1e0b5a5899b2425a3
3
+ metadata.gz: 014a644bdb9f1ab1d484db21b0db30ac7aa5b40b
4
+ data.tar.gz: 2fc9f55a6f14bcf5a3d253b3f097bf0787a14ab2
5
5
  SHA512:
6
- metadata.gz: 3d7da2ad32d8838df132b21ce88afac8d7b73d5acbf6762fe65e7ee70b38c1270e2fa27ded47e842efde78c593f91f8e6e9ce894f43764e553201bbf7629f0d7
7
- data.tar.gz: e2fcf7f44a09b904e7ae0f7211883faac335f356b434573cb4a811e595ea8ac49d1684ae3e0bf4f2583ea09a0ec7c57862f075c6703d4e8d8d4f8c14bd30decf
6
+ metadata.gz: f23cd33ca4d993ef874f7cb71120188f752a28b8e8ffec601aa9a196362ede3a8e9e9c15caffd678bd832e9c17eab14202b05e091d88a4cc437a49528f61e253
7
+ data.tar.gz: 90bec84a1e99004367b6b1746c4cf96c5fb08a5c12a90f7849eb2b1b0165b5020ae9762189ffaa0a228d4591bd39ce791878f13c7b0ddae1adc22a601bfe7e7f
data/CHANGELOG.md CHANGED
@@ -4,7 +4,18 @@ Reverse Chronological Order:
4
4
 
5
5
  ## Unreleased
6
6
 
7
- https://github.com/platanus/negroku/compare/v2.8.3...HEAD
7
+ https://github.com/platanus/negroku/compare/v2.8.4...HEAD
8
+
9
+ ## `2.8.4`
10
+
11
+ https://github.com/platanus/negroku/compare/v2.8.3...v2.8.4
12
+
13
+ FEAT:
14
+ - Processes start in a one by one, with a grace time of 20 seconds by default.
15
+ You can use the `eye_chain_grace` variable to change it.
16
+
17
+ FIX:
18
+ - Rails log now use the rails environment to read the log from the server
8
19
 
9
20
  ## `2.8.3`
10
21
 
@@ -24,7 +35,7 @@ BREAKING CHANGES:
24
35
 
25
36
  https://github.com/platanus/negroku/compare/v2.8.1...v2.8.2
26
37
 
27
- FIX:
38
+ FIX:
28
39
  - Dependency on activesupport. Now it works on rails 4.x
29
40
 
30
41
  ## `2.8.1`
data/docs/TASKS.md CHANGED
@@ -25,6 +25,9 @@ set: eye_<process>_<setting>, <value>
25
25
  The main setting that can be customized are timeouts and grace times.
26
26
 
27
27
  ```ruby
28
+ # chain grace time
29
+ set: eye_chain_grace, 30.seconds
30
+
28
31
  # delayed job timeouts
29
32
  set: eye_delayed_job_start_timeout, 20.seconds
30
33
  set: eye_delayed_job_stop_timeout, 1.minute
@@ -13,9 +13,7 @@ namespace :negroku do
13
13
 
14
14
  namespace :rails do
15
15
 
16
- define_logs(:rails, {
17
- app: 'production.log'
18
- })
16
+ define_logs(:rails, app: fetch(:rails_env, 'production.log'))
19
17
 
20
18
  end
21
19
 
@@ -14,6 +14,8 @@ Eye.application '<%= fetch(:application)%>' do
14
14
  working_dir '<%= current_path %>'
15
15
  stdall '<%= shared_path %>/log/eye.log'
16
16
 
17
+ chain grace: <%= fetch(:eye_chaing_grace, 20) %>.seconds
18
+
17
19
  trigger :flapping, times: 10, within: 1.minute, retry_in: 10.minutes
18
20
 
19
21
  check :cpu, every: 10.seconds, below: 100, times: 3 # global check for all processes
@@ -1,3 +1,3 @@
1
1
  module Negroku
2
- VERSION = '2.8.3'
2
+ VERSION = '2.8.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: negroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.3
4
+ version: 2.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Ignacio Donoso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-28 00:00:00.000000000 Z
11
+ date: 2015-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc