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.
- checksums.yaml +4 -4
- data/lib/elastic_util.rb +3 -3
- 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: 631179e3ea01a206b5ddfe51ac9189a55b4e9988
|
4
|
+
data.tar.gz: 245f484434a40d4a86057e519a3ff93a508160ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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 =
|
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 =
|
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
|
+
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-
|
11
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|