From e187299e745434b267777b61ef00890b32fd0baa Mon Sep 17 00:00:00 2001 From: Kirill Fedoseev Date: Thu, 20 Jun 2024 11:39:05 +0400 Subject: [PATCH] fix: set timeout in seconds (#10283) --- apps/indexer/lib/indexer/fetcher/beacon/blob.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/indexer/lib/indexer/fetcher/beacon/blob.ex b/apps/indexer/lib/indexer/fetcher/beacon/blob.ex index aab82cff9a..b42a49f482 100644 --- a/apps/indexer/lib/indexer/fetcher/beacon/blob.ex +++ b/apps/indexer/lib/indexer/fetcher/beacon/blob.ex @@ -20,7 +20,8 @@ defmodule Indexer.Fetcher.Beacon.Blob do @default_max_batch_size 10 @default_max_concurrency 1 @default_retries_limit 2 - @default_retry_deadline :timer.minutes(5) + # 5 minutes in seconds + @default_retry_deadline 300 @doc """ Asynchronously fetches blobs for given `block_timestamp`.