elastic-util 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/elastic_util.rb +3 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9852a24a0dca9634cb63f202c778d29728daf036
4
- data.tar.gz: 83940ff522b1928cafc944235a19a5b0d0e9dd40
3
+ metadata.gz: 631179e3ea01a206b5ddfe51ac9189a55b4e9988
4
+ data.tar.gz: 245f484434a40d4a86057e519a3ff93a508160ea
5
5
  SHA512:
6
- metadata.gz: 888a0c6b7db27367f6b361be6db0a6ae8bbad12e4f87304d91259cc9cb18e2cf6028e5ae64a9b5f17a9401bd4af5123713748079d22da0578f36998ac4d782f3
7
- data.tar.gz: c023e629c8d1b80d5c3ae4157c3baa0cde478a9671d8ca9b16871da40d237d79421b3a13158d425286a475c1e513b9f218582c35cb7e8418ad603f8ac434b4d3
6
+ metadata.gz: c56b125c357a4101a9ee8514435638f3c231c6a10fe2130cb49cd1a2a7ad46229b0ea0d023d92c91915f970b60c2907145f3c4c0ff4d4fc50e824e9839ffe3d4
7
+ data.tar.gz: db2d9d011bc14e7f6e3c64b21a9a31e30d8844541534a3cdffef8cfd67c799c37b1d42bfb2893c0491734e6cf1e8b8338e04264c0e337cea0bb38c01ba0c0929
data/lib/elastic_util.rb CHANGED
@@ -12,7 +12,7 @@ require 'fileutils'
12
12
  #
13
13
  module ElasticUtil
14
14
 
15
- VERSION = "0.1.4"
15
+ VERSION = "0.1.5"
16
16
 
17
17
  # The name of the data directory, relative to the user provided backup directory.
18
18
  DUMP_DIR = "es_data"
@@ -60,7 +60,7 @@ module ElasticUtil
60
60
  uri = URI(url)
61
61
  response = Net::HTTP.get_response(uri)
62
62
  http = Net::HTTP.new(uri.host, uri.port)
63
- http.read_timeout = 5
63
+ http.read_timeout = (60*3)
64
64
  http.open_timeout = 5
65
65
  response = http.start() {|http|
66
66
  http.get("/")
@@ -188,7 +188,7 @@ module ElasticUtil
188
188
  uri = URI(url)
189
189
  response = Net::HTTP.get_response(uri)
190
190
  http = Net::HTTP.new(uri.host, uri.port)
191
- http.read_timeout = 5
191
+ http.read_timeout = (60*3)
192
192
  http.open_timeout = 5
193
193
  response = http.start() {|http|
194
194
  http.get("/")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elastic-util
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Dickson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-09 00:00:00.000000000 Z
11
+ date: 2018-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler