|
|
@ -22,7 +22,7 @@ defmodule Explorer.Chain.Cache.BackgroundMigrations do |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
defp handle_fallback(:transactions_denormalization_finished) do |
|
|
|
defp handle_fallback(:transactions_denormalization_finished) do |
|
|
|
Task.start(fn -> |
|
|
|
Task.start_link(fn -> |
|
|
|
set_transactions_denormalization_finished(TransactionsDenormalization.migration_finished?()) |
|
|
|
set_transactions_denormalization_finished(TransactionsDenormalization.migration_finished?()) |
|
|
|
end) |
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
@ -30,7 +30,7 @@ defmodule Explorer.Chain.Cache.BackgroundMigrations do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
defp handle_fallback(:tb_token_type_finished) do |
|
|
|
defp handle_fallback(:tb_token_type_finished) do |
|
|
|
Task.start(fn -> |
|
|
|
Task.start_link(fn -> |
|
|
|
set_tb_token_type_finished(AddressTokenBalanceTokenType.migration_finished?()) |
|
|
|
set_tb_token_type_finished(AddressTokenBalanceTokenType.migration_finished?()) |
|
|
|
end) |
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
@ -38,7 +38,7 @@ defmodule Explorer.Chain.Cache.BackgroundMigrations do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
defp handle_fallback(:ctb_token_type_finished) do |
|
|
|
defp handle_fallback(:ctb_token_type_finished) do |
|
|
|
Task.start(fn -> |
|
|
|
Task.start_link(fn -> |
|
|
|
set_ctb_token_type_finished(AddressCurrentTokenBalanceTokenType.migration_finished?()) |
|
|
|
set_ctb_token_type_finished(AddressCurrentTokenBalanceTokenType.migration_finished?()) |
|
|
|
end) |
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
@ -46,7 +46,7 @@ defmodule Explorer.Chain.Cache.BackgroundMigrations do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
defp handle_fallback(:tt_denormalization_finished) do |
|
|
|
defp handle_fallback(:tt_denormalization_finished) do |
|
|
|
Task.start(fn -> |
|
|
|
Task.start_link(fn -> |
|
|
|
set_tt_denormalization_finished(TokenTransferTokenType.migration_finished?()) |
|
|
|
set_tt_denormalization_finished(TokenTransferTokenType.migration_finished?()) |
|
|
|
end) |
|
|
|
end) |
|
|
|
|
|
|
|
|
|
|
|