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

op-challenger: Provide option to limit how often games are processed #13090

Open
ajsutton opened this issue Nov 25, 2024 · 0 comments
Open

op-challenger: Provide option to limit how often games are processed #13090

ajsutton opened this issue Nov 25, 2024 · 0 comments

Comments

@ajsutton
Copy link
Contributor

op-challenger makes a lot of calls to the L1 node because it's tracking all games from the last 28 days and for each game it winds up loading all the claims for those games. Currently it tries to update games basically as fast as it can - scheduling a new round of updates on each new block (though back pressure means it doesn't actually update that fast).

To reduce the number of calls it makes, it would be useful to provide an option to limit how often games are updated. Possibly the easiest way to do this is to only schedule processing games if the new L1 block is X seconds after the previous update was scheduled but can be flexible about the particular semantics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant