From f6a56f895a9fa6b0c9c19e3eb1cbea605a1f5c46 Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Fri, 12 Mar 2021 16:25:05 +0300 Subject: [PATCH] Increase lp tokens calc process re-check interval --- CHANGELOG.md | 1 + apps/indexer/lib/indexer/calc_lp_tokens_total_liquidity.ex | 2 +- .../indexer/lib/indexer/set_omni_bridged_metadata_for_tokens.ex | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88bc6a57d2..e638ff46bd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ - [#3577](https://github.com/poanetwork/blockscout/pull/3577) - Eliminate GraphiQL page XSS attack ### Chore +- [#3701](https://github.com/poanetwork/blockscout/pull/3701) - Increase LP tokens calc process re-check interval - [#3697](https://github.com/poanetwork/blockscout/pull/3697) - Update hackney dependency - [#3696](https://github.com/poanetwork/blockscout/pull/3696) - Table loader fix - [#3688](https://github.com/poanetwork/blockscout/pull/3688) - Reorganize staking buttons diff --git a/apps/indexer/lib/indexer/calc_lp_tokens_total_liquidity.ex b/apps/indexer/lib/indexer/calc_lp_tokens_total_liquidity.ex index 260ce279fd..04c745a601 100644 --- a/apps/indexer/lib/indexer/calc_lp_tokens_total_liquidity.ex +++ b/apps/indexer/lib/indexer/calc_lp_tokens_total_liquidity.ex @@ -9,7 +9,7 @@ defmodule Indexer.CalcLpTokensTotalLiqudity do alias Explorer.Chain - @interval :timer.minutes(10) + @interval :timer.minutes(20) def start_link([init_opts, gen_server_opts]) do start_link(init_opts, gen_server_opts) diff --git a/apps/indexer/lib/indexer/set_omni_bridged_metadata_for_tokens.ex b/apps/indexer/lib/indexer/set_omni_bridged_metadata_for_tokens.ex index 276709b712..5f04721204 100644 --- a/apps/indexer/lib/indexer/set_omni_bridged_metadata_for_tokens.ex +++ b/apps/indexer/lib/indexer/set_omni_bridged_metadata_for_tokens.ex @@ -9,7 +9,7 @@ defmodule Indexer.SetOmniBridgedMetadataForTokens do alias Explorer.Chain - @interval :timer.minutes(1) + @interval :timer.minutes(10) def start_link([init_opts, gen_server_opts]) do start_link(init_opts, gen_server_opts)