Skip to content

Commit

Permalink
re-applying defaults after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
moshemalawach committed May 9, 2023
1 parent 92c858b commit ddf9ec8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 7 additions & 3 deletions src/aleph_nodestatus/distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ async def prepare_distribution(start_height, end_height):
),
),
prepare_items(
"balance-update", process_balances_history(settings.ethereum_min_height)
"balance-update",
process_balances_history(
settings.ethereum_min_height,
request_count=500,
)
),
prepare_items(
"staking-update",
Expand All @@ -104,7 +108,7 @@ async def prepare_distribution(start_height, end_height):
[settings.node_post_type, "amend"],
settings.aleph_api_server,
yield_unconfirmed=False,
request_count=100000,
request_count=5000,
),
),
prepare_items(
Expand All @@ -115,7 +119,7 @@ async def prepare_distribution(start_height, end_height):
message_type="POST",
addresses=settings.scores_senders,
api_server=settings.aleph_api_server,
request_count=50,
request_count=1000,
),
),
]
Expand Down
3 changes: 2 additions & 1 deletion src/aleph_nodestatus/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,7 @@ async def process():
[settings.filter_tag],
[settings.node_post_type, "amend"],
settings.aleph_api_server,
request_count=5000,
),
),
prepare_items(
Expand All @@ -510,7 +511,7 @@ async def process():
message_type="POST",
addresses=settings.scores_senders,
api_server=settings.aleph_api_server,
request_count=50,
request_count=100,
),
),
]
Expand Down

0 comments on commit ddf9ec8

Please sign in to comment.