From fdff69f22ee65ee79f9d9689915b9bba92af964c Mon Sep 17 00:00:00 2001 From: Oleksii Kriuchykhin Date: Thu, 7 Feb 2019 11:06:25 +0100 Subject: [PATCH] Add comment for Tika start up code [SCI-2967] --- app/models/asset.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/asset.rb b/app/models/asset.rb index 411796ffe..3ef548561 100644 --- a/app/models/asset.rb +++ b/app/models/asset.rb @@ -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