Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the relayer hot loop in the case of error #1281

Merged
merged 3 commits into from
Aug 9, 2023

Conversation

xgreenx
Copy link
Collaborator

@xgreenx xgreenx commented Aug 9, 2023

Fixes #1280

@@ -45,7 +45,7 @@ pub struct Config {

#[allow(missing_docs)]
impl Config {
pub const DEFAULT_LOG_PAGE_SIZE: u64 = 5;
pub const DEFAULT_LOG_PAGE_SIZE: u64 = 10_000;
Copy link
Member

Choose a reason for hiding this comment

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

This is a pretty large increase, couldn't this worsen our rate limiting issues?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It should decrease the number of requests=) I used 100_000 locally during synchronization with the network and it was only several requests
image

@xgreenx xgreenx merged commit 553a4ba into master Aug 9, 2023
21 checks passed
@xgreenx xgreenx deleted the bugfix/fix-relayer-hot-loop branch August 9, 2023 12:09
@xgreenx xgreenx self-assigned this Aug 9, 2023
@xgreenx xgreenx mentioned this pull request Aug 9, 2023
xgreenx added a commit that referenced this pull request Aug 10, 2023
## Release 0.20.4

Some improvements for the infrastructure.

## What's Changed
* Fixes the relayer hot loop in the case of error by @xgreenx in
#1281
* Time consumption metrics for each service by @xgreenx in
#1284


**Full Changelog**:
v0.20.3...v0.20.4
Voxelot pushed a commit that referenced this pull request Aug 10, 2023
crypto523 added a commit to crypto523/fuel-core that referenced this pull request Oct 7, 2024
## Release 0.20.4

Some improvements for the infrastructure.

## What's Changed
* Fixes the relayer hot loop in the case of error by @xgreenx in
FuelLabs/fuel-core#1281
* Time consumption metrics for each service by @xgreenx in
FuelLabs/fuel-core#1284


**Full Changelog**:
FuelLabs/fuel-core@v0.20.3...v0.20.4
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.

Relayer spamming ethereum rpc
2 participants