increase reward task timeout

pull/2502/head
Ayrat Badykov 5 years ago
parent 27f32f7985
commit 475d32bab4
No known key found for this signature in database
GPG Key ID: B44668E265E9396F
  1. 2
      apps/explorer/lib/explorer/chain.ex

@ -232,7 +232,7 @@ defmodule Explorer.Chain do
address_hash
|> address_to_transactions_without_rewards(paging_options, options)
|> Enum.concat(Task.await(rewards_task))
|> Enum.concat(Task.await(rewards_task, 20_000))
|> Enum.sort_by(fn item ->
case item do
{%Reward{} = emission_reward, _} ->

Loading…
Cancel
Save