mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-06 15:40:31 +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
|
||||
end
|
||||
|
||||
# Start Tika as a server
|
||||
if !ENV['NO_TIKA_SERVER'] && Yomu.class_variable_get(:@@server_pid).nil?
|
||||
Yomu.server(:text)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue