Explorar el Código

Skip full text search if failed (#9654)

* Skip full text search if failed

* Move rescue block to "perform_statuses_search!"
master
Jeong Arm hace 5 años
committed by Eugen Rochko
padre
commit
511231ce57
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      app/services/search_service.rb

+ 2
- 0
app/services/search_service.rb Ver fichero

@@ -34,6 +34,8 @@ class SearchService < BaseService
.compact

statuses.reject { |status| StatusFilter.new(status, account).filtered? }
rescue Faraday::ConnectionFailed
[]
end

def perform_hashtags_search!


Cargando…
Cancelar
Guardar