Skip to content

Commit

Permalink
🧹 [i2479] - RSolr error when updating an tenant settings
Browse files Browse the repository at this point in the history
solution c/o George Leithner

Issue:
- #2479
  • Loading branch information
ShanaLMoore committed Mar 6, 2025
1 parent b14e5de commit 3f8f604
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/account.rb
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ def schedule_jobs_if_settings_changed
new_relevant_settings = new_settings.slice(*relevant_settings)

return unless old_relevant_settings != new_relevant_settings
find_or_schedule_jobs
Apartment::Tenant.switch(self.tenant) do
find_or_schedule_jobs
end
end
end
# rubocop:enable Metrics/ClassLength

0 comments on commit 3f8f604

Please sign in to comment.