diff --git a/lib/search_index_backend.rb b/lib/search_index_backend.rb index 02f138450..775604b8c 100644 --- a/lib/search_index_backend.rb +++ b/lib/search_index_backend.rb @@ -240,7 +240,7 @@ return true if backend is configured end def self.connection( url ) - conn = Faraday.new( :url => url, :options => { :open_timeout => 5, :timeout => 10 } ) + conn = Faraday.new( :url => url, :request => { :open_timeout => 5, :timeout => 10 } ) user = Setting.get('es_user') pw = Setting.get('es_password') if user && !user.empty? && pw && !pw.empty?