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

Relayer spamming ethereum rpc #1280

Closed
Voxelot opened this issue Aug 9, 2023 · 0 comments · Fixed by #1281
Closed

Relayer spamming ethereum rpc #1280

Voxelot opened this issue Aug 9, 2023 · 0 comments · Fixed by #1281
Labels
bug Something isn't working

Comments

@Voxelot
Copy link
Member

Voxelot commented Aug 9, 2023

There are some conditions in the relayer that appear to be causing an apparent infinite loop of requests to the ethereum rpc.

As seen here in our test environment, the relayer went on the fritz and made a lot of requests to eth rpc without any delay between them:
image

The culprit is likely these two sections:
image
image

While the second image indicates that the relayer should wait before running again, this delay only takes effect if synced is set to some value. If the connection to eth drops or is rate limited, and the relayer is unable to obtain any sync state from eth, then it appears to start busily polling the connection to eth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant