mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-09 00:49:07 +08:00
Add comment for Tika start up code [SCI-2967]
This commit is contained in:
parent
13c4bd25af
commit
fdff69f22e
1 changed files with 1 additions and 0 deletions
|
@ -242,6 +242,7 @@ class Asset < ApplicationRecord
|
||||||
file_path = fa.path
|
file_path = fa.path
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Start Tika as a server
|
||||||
if !ENV['NO_TIKA_SERVER'] && Yomu.class_variable_get(:@@server_pid).nil?
|
if !ENV['NO_TIKA_SERVER'] && Yomu.class_variable_get(:@@server_pid).nil?
|
||||||
Yomu.server(:text)
|
Yomu.server(:text)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue