-
- Downloads
Fix records not being indexed sometimes (#12024)
It's possible that after commit callbacks were not firing when exceptions occurred in the process. Also, the default Sidekiq strategy does not push indexing jobs immediately, which is not necessary and could be part of the issue too.
Showing
- app/models/account.rb 1 addition, 1 deletionapp/models/account.rb
- app/models/account_stat.rb 1 addition, 1 deletionapp/models/account_stat.rb
- app/models/application_record.rb 6 additions, 0 deletionsapp/models/application_record.rb
- app/models/favourite.rb 1 addition, 1 deletionapp/models/favourite.rb
- app/models/status.rb 1 addition, 1 deletionapp/models/status.rb
- app/models/tag.rb 1 addition, 1 deletionapp/models/tag.rb
- config/application.rb 1 addition, 0 deletionsconfig/application.rb
- config/initializers/chewy.rb 3 additions, 2 deletionsconfig/initializers/chewy.rb
- lib/chewy/strategy/custom_sidekiq.rb 30 additions, 0 deletionslib/chewy/strategy/custom_sidekiq.rb
- spec/rails_helper.rb 1 addition, 1 deletionspec/rails_helper.rb
Loading
Please register or sign in to comment