mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-04 21:15:19 +02:00
Revert "Add env to toggle provider price syncs"
This reverts commit 0006b6f6ca
.
This commit is contained in:
parent
0006b6f6ca
commit
a268c5a563
2 changed files with 0 additions and 4 deletions
|
@ -29,8 +29,6 @@ module Security::Provided
|
|||
end
|
||||
|
||||
def sync_provider_prices(start_date:, end_date: Date.current)
|
||||
return 0 unless ENV["PROVIDER_PRICE_SYNC_ENABLED"] == "true"
|
||||
|
||||
unless has_prices?
|
||||
Rails.logger.warn("Security id=#{id} ticker=#{ticker} is not known by provider, skipping price sync")
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue