Add comment for Tika start up code [SCI-2967]

This commit is contained in:
Oleksii Kriuchykhin 2019-02-07 11:06:25 +01:00
parent 13c4bd25af
commit fdff69f22e

View file

@ -242,6 +242,7 @@ class Asset < ApplicationRecord
file_path = fa.path
end
# Start Tika as a server
if !ENV['NO_TIKA_SERVER'] && Yomu.class_variable_get(:@@server_pid).nil?
Yomu.server(:text)
end