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 +4 -4
- data/CHANGELOG.md +13 -2
- data/docs/TASKS.md +3 -0
- data/lib/negroku/capistrano/tasks/rails.rake +1 -3
- data/lib/negroku/capistrano/templates/eye/application.eye.erb +2 -0
- data/lib/negroku/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 014a644bdb9f1ab1d484db21b0db30ac7aa5b40b
|
4
|
+
data.tar.gz: 2fc9f55a6f14bcf5a3d253b3f097bf0787a14ab2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
@@ -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
|
data/lib/negroku/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rdoc
|