Merge pull request #10261 from colinux/ignore-search-terms-2

Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
This commit is contained in:
Colin Darie 2024-05-21 07:07:10 +00:00 committed by GitHub
commit c2b1d7aaaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 336 additions and 175 deletions

View file

@ -44,7 +44,7 @@ if Rails.env.production? && SIDEKIQ_ENABLED
self.queue_adapter = :sidekiq
end
class DossierUpdateSearchTermsJob < ApplicationJob
class DossierIndexSearchTermsJob < ApplicationJob
self.queue_adapter = :sidekiq
end