fix(search): increase debounce delay because of too frequent brouillon updates
This commit is contained in:
parent
eaf9773e9e
commit
3617368a35
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module DossierSearchableConcern
|
||||||
included do
|
included do
|
||||||
after_commit :index_search_terms_later, if: -> { previously_new_record? || user_previously_changed? || mandataire_first_name_previously_changed? || mandataire_last_name_previously_changed? }
|
after_commit :index_search_terms_later, if: -> { previously_new_record? || user_previously_changed? || mandataire_first_name_previously_changed? || mandataire_last_name_previously_changed? }
|
||||||
|
|
||||||
SEARCH_TERMS_DEBOUNCE = 30.seconds
|
SEARCH_TERMS_DEBOUNCE = 5.minutes
|
||||||
|
|
||||||
kredis_flag :debounce_index_search_terms_flag
|
kredis_flag :debounce_index_search_terms_flag
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue