orchestration 0.5.13 → 0.5.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 +4 -4
- data/README.md +3 -3
- data/lib/orchestration/service_check.rb +2 -2
- data/lib/orchestration/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 291252425784215fed686a5bf414b115dbec55ebca6bcdb23b136d5c6816e195
|
4
|
+
data.tar.gz: d972df8f59a94eca1912911b4f662fc195fa154efe935d5b4c55aef41c7b61c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8628b095acf09db5f22f9144c4224fdbd3b97d16b737c3269e9ba3db04ca5c91574c926f6ea6382d4e6daea8248a7e297dc81dba06d1a1818077584a1955bd9a
|
7
|
+
data.tar.gz: 666c46c274e7fe26828e35b2eaa0ff8455b3c6866611e91572f7ad08daff1476985944b41ccf2e6c37b02294256deb9739f1c8413308e72509b0baab6b815e56
|
data/README.md
CHANGED
@@ -27,7 +27,7 @@ The below screenshot demonstrates _Orchestration_ being installed in a brand new
|
|
27
27
|
Add _Orchestration_ to your Gemfile:
|
28
28
|
|
29
29
|
```ruby
|
30
|
-
gem 'orchestration', '~> 0.5.
|
30
|
+
gem 'orchestration', '~> 0.5.14'
|
31
31
|
```
|
32
32
|
|
33
33
|
Install:
|
@@ -216,8 +216,8 @@ _(See [sidecar containers](#sidecar-containers) if you are running your test/dev
|
|
216
216
|
Dependencies will be launched and then tested for readiness. The retry limit and interval time for readiness tests can be controlled by the following environment variables:
|
217
217
|
|
218
218
|
```
|
219
|
-
ORCHESTRATION_RETRY_LIMIT # default:
|
220
|
-
ORCHESTRATION_RETRY_INTERVAL # default:
|
219
|
+
ORCHESTRATION_RETRY_LIMIT # default: 15
|
220
|
+
ORCHESTRATION_RETRY_INTERVAL # default: 10 [seconds]
|
221
221
|
```
|
222
222
|
|
223
223
|
### (Local) Production
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
module Orchestration
|
4
4
|
class ServiceCheck
|
5
|
-
ATTEMPT_LIMIT = ENV.fetch('ORCHESTRATION_RETRY_LIMIT', '
|
6
|
-
RETRY_INTERVAL = ENV.fetch('ORCHESTRATION_RETRY_INTERVAL', '
|
5
|
+
ATTEMPT_LIMIT = ENV.fetch('ORCHESTRATION_RETRY_LIMIT', '15').to_i
|
6
|
+
RETRY_INTERVAL = ENV.fetch('ORCHESTRATION_RETRY_INTERVAL', '10').to_i
|
7
7
|
|
8
8
|
def initialize(service, terminal, options = {})
|
9
9
|
@service = service
|