elasticsearch-indexstager 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticsearch/index_stager.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e053be4eb446c0d947f6c73033aced841a80e9b4
|
4
|
+
data.tar.gz: a0da2e598bf71f151012e91e1a76c85088ee942f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 951fe36de54f59c564a1eee642362b669c4b84dbda32e9f71a7200fb599ccf891d7c35477e82b7763e2fe998c00930a181ec578b44a50e6da1254da52e09fa17
|
7
|
+
data.tar.gz: e24b2c128bb726ce758bdcead24f4650553ebbb67a543405bd59c5cc039a20f5061293e250b04202b7702e32cdecf291d792cc6f3f823de44aa3c3a611f5ede6
|
@@ -2,7 +2,7 @@ require 'securerandom'
|
|
2
2
|
|
3
3
|
module Elasticsearch
|
4
4
|
class IndexStager
|
5
|
-
VERSION = '1.1.
|
5
|
+
VERSION = '1.1.1'
|
6
6
|
|
7
7
|
attr_reader :index_name, :es_client
|
8
8
|
|
@@ -75,7 +75,7 @@ module Elasticsearch
|
|
75
75
|
while( tries < 10 ) do
|
76
76
|
indices = ESHelper.client.indices.get_aliases.keys
|
77
77
|
break if indices.include?(new_name)
|
78
|
-
tries
|
78
|
+
tries += 1
|
79
79
|
sleep(1)
|
80
80
|
end
|
81
81
|
|