Temporarily disable data enrichment jobs until optimized
This commit is contained in:
@@ -15,7 +15,8 @@ class Account::Syncer
|
||||
|
||||
# Enrich if user opted in or if we're syncing transactions from a Plaid account on the hosted app
|
||||
if account.family.data_enrichment_enabled? || (account.plaid_account_id.present? && Rails.application.config.app_mode.hosted?)
|
||||
account.enrich_data_later
|
||||
# Temporarily disable until optimizations complete
|
||||
# account.enrich_data_later
|
||||
else
|
||||
Rails.logger.info("Data enrichment is disabled, skipping enrichment for account #{account.id}")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user