index-tanked 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,12 @@ module IndexTanked
|
|
17
17
|
trap('QUIT') { log 'Exiting...'; $exit = true }
|
18
18
|
|
19
19
|
loop do
|
20
|
-
|
20
|
+
if IndexTanked::Configuration.index_available?
|
21
|
+
count = process_documents(@batch_size)
|
22
|
+
else
|
23
|
+
count = 0
|
24
|
+
log('Indexing is currently disabled, sleeping.')
|
25
|
+
end
|
21
26
|
|
22
27
|
break if $exit
|
23
28
|
|
data/lib/index-tanked/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: index-tanked
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adam Kittelson
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-06-
|
19
|
+
date: 2011-06-10 00:00:00 -07:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|