Skip to content

fix: Disable sample recording if SendOnly is enabled for load testing#647

Merged
leovct merged 3 commits into0xPolygon:mainfrom
IvanBelyakoff:fix/disable-light-summary-on-send-only
Jul 15, 2025
Merged

fix: Disable sample recording if SendOnly is enabled for load testing#647
leovct merged 3 commits into0xPolygon:mainfrom
IvanBelyakoff:fix/disable-light-summary-on-send-only

Conversation

@IvanBelyakoff
Copy link
Contributor

Description

In case SendOnly is enabled for load testing, no light summary is provided. But the test still calls recordSample, which does not make sense, and eats all the RAM during long heavy load testing.
Disable light summary if SendOnly is enabled.

@IvanBelyakoff IvanBelyakoff changed the title fix: Disable light summary if SendOnly is enabled for load testing fix: Disable sample recording if SendOnly is enabled for load testing Jul 10, 2025
jhkimqd
jhkimqd previously approved these changes Jul 11, 2025
Copy link
Contributor

@jhkimqd jhkimqd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nitpick, otherwise lgtm!

@jhkimqd
Copy link
Contributor

jhkimqd commented Jul 11, 2025

@IvanBelyakoff could you also run make gen in the polycli root directory to update the docs?

@IvanBelyakoff IvanBelyakoff force-pushed the fix/disable-light-summary-on-send-only branch from 785ffe1 to f0a38e3 Compare July 11, 2025 13:37
@IvanBelyakoff IvanBelyakoff force-pushed the fix/disable-light-summary-on-send-only branch from f0a38e3 to 744ea76 Compare July 11, 2025 13:51
Copy link
Member

@leovct leovct left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks!

@leovct leovct merged commit c927216 into 0xPolygon:main Jul 15, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants