Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Temporarily disable data enrichment jobs until optimized

Zach Gollwitzer75c862757708
diff --git a/app/models/account/syncer.rb b/app/models/account/syncer.rb
index 37074aa7..8f5ebc3a 100644
--- a/app/models/account/syncer.rb
+++ b/app/models/account/syncer.rb
@@ -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