index-tanked 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module IndexTanked
|
|
14
14
|
|
15
15
|
trap('TERM') { log 'Exiting...'; $exit = true }
|
16
16
|
trap('INT') { log 'Exiting...'; $exit = true }
|
17
|
+
trap('QUIT') { log 'Exiting...'; $exit = true }
|
17
18
|
|
18
19
|
loop do
|
19
20
|
count = process_documents(@batch_size)
|
@@ -21,7 +22,7 @@ module IndexTanked
|
|
21
22
|
break if $exit
|
22
23
|
|
23
24
|
if count.zero?
|
24
|
-
|
25
|
+
(SLEEP * 2).times{ sleep(0.5) unless $exit }
|
25
26
|
end
|
26
27
|
|
27
28
|
break if $exit
|
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: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
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-
|
19
|
+
date: 2011-06-01 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|