elasticsearch_s3_backup 2.0.0 → 2.0.1

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: 2105524d46917aa46d271cab57f1ee0358f79abe
4
- data.tar.gz: 0c0ae0dfe3066aa5e0e36518e7ac8cabadc07535
3
+ metadata.gz: 873b7e21f3194143c4dd273e4322343a0f9f6344
4
+ data.tar.gz: e25e7eaa0608847db2fe70fe45e87a7aea16df2e
5
5
  SHA512:
6
- metadata.gz: 0ee88a13722edf3aff649fe6ccebd6b4051df379e2d930644f5b3c7c31555435203d97c5e18949bd2435843ab40359b1973d2cccf319db95b30da13b9b490f9e
7
- data.tar.gz: fba02786fc4e80bba4c1a88aae4c74bfe0f5250754882dd0e06f4ef880d5dc98ef7ad26aa474b2325df13ac8d4cc342c0d66089ffa5297815a9780236464bd89
6
+ metadata.gz: d33d3cef2877c0a0247fde1616da0c4aa87fdd7c6c1298f25a10fc46aef8d6f34d73b42cb2403fb0fd103547b405fd985ff4563807d6ba4b68eebd319351e5f0
7
+ data.tar.gz: 5d38407897c26c38abe0b4734cf4f32c44bc7a1b35b1c2db7ced2911fc58a6111e944c1467c29b0c9772156f9f637220e38256820a1d7311f13721921cdce1ef
data/README.md CHANGED
@@ -21,6 +21,7 @@ Create a YAML file called `/etc/s3_backup.yml` and give it the following content
21
21
  max_snapshot_bytes_per_sec: 100mb
22
22
  max_restore_bytes_per_sec: 500mb
23
23
  env: stage
24
+ es_transport_timeout: 2400
24
25
  pagerduty_api_key: @@YOUR_PAGERDUTY_API_KEY@@
25
26
  node_name: @@THIS_NODE'S_NAME@@
26
27
  elasticsearch_auth_file: "/usr/local/elasticsearch/password"
@@ -1,5 +1,5 @@
1
1
  module EverTools
2
2
  class ElasticsearchS3Backup
3
- VERSION = '2.0.0'
3
+ VERSION = '2.0.1'
4
4
  end
5
5
  end
@@ -15,6 +15,7 @@ module EverTools
15
15
  def_delegators :@conf,
16
16
  :pagerduty_api_key,
17
17
  :test_size,
18
+ :es_transport_timeout,
18
19
  :new_repo_params,
19
20
  :sentry_dsn,
20
21
  :node_name,
@@ -65,7 +66,7 @@ module EverTools
65
66
  Elasticsearch::Client.new host: "http://#{es_host}:9200",
66
67
  transport_options: {
67
68
  request: {
68
- timeout: 1200
69
+ timeout: (es_transport_timeout || 2400)
69
70
  }
70
71
  }
71
72
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticsearch_s3_backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Herot
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-24 00:00:00.000000000 Z
11
+ date: 2016-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  version: '0'
179
179
  requirements: []
180
180
  rubyforge_project:
181
- rubygems_version: 2.4.5
181
+ rubygems_version: 2.5.1
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: Backs up ElasticSearch to S3