exe/solr_wrapper in solr_wrapper-0.14.2 vs exe/solr_wrapper in solr_wrapper-0.15.0
- old
+ new
@@ -109,9 +109,11 @@
conn.with_collection(collection_options) do
$stderr.puts "http://#{instance.host}:#{instance.port}/solr/"
begin
conn.wait
rescue Interrupt
+ Signal.trap("SIGTERM") {"IGNORE"}
+ Signal.trap("SIGINT") {"IGNORE"}
$stderr.puts "Solr is shutting down."
end
end
end