From d31beacce7aa00c7b369abb60391e782c296e829 Mon Sep 17 00:00:00 2001 From: Ivan Frolov Date: Thu, 12 Dec 2024 15:41:05 -0500 Subject: [PATCH] fix: changed configuration variable --- src/near_lake_framework/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/near_lake_framework/__init__.py b/src/near_lake_framework/__init__.py index af47441..9410c7e 100644 --- a/src/near_lake_framework/__init__.py +++ b/src/near_lake_framework/__init__.py @@ -56,7 +56,7 @@ def __init__( # pylint: disable=too-many-arguments aws_access_key_id: str, aws_secret_key: str, start_block_height: near_primitives.BlockHeight, - preload_pool_size: int = 200, + blocks_preload_pool_size: int = 200, ): # These are entirely determined by Network. self.s3_bucket_name = f"near-lake-data-{network.value}" @@ -65,7 +65,7 @@ def __init__( # pylint: disable=too-many-arguments self.aws_access_key_id = aws_access_key_id self.aws_secret_key = aws_secret_key self.start_block_height = start_block_height - self.preload_pool_size = preload_pool_size + self.preload_pool_size = blocks_preload_pool_size async def start(config: LakeConfig, streamer_messages_queue: asyncio.Queue):