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

Control resources used by the databases better #2399

Open
xgreenx opened this issue Oct 28, 2024 · 0 comments
Open

Control resources used by the databases better #2399

xgreenx opened this issue Oct 28, 2024 · 0 comments

Comments

@xgreenx
Copy link
Collaborator

xgreenx commented Oct 28, 2024

The current code has 4 separate databases. While it makes sense to have a big cache and a number of allowed descriptors for on-chain and off-chain databases, relayer and gas price databases don't need a cache at all, and they can use only a few file descriptors for their work.

image

Definition of done

Remove usage of the cache for relayer and gas price databases(capacity should be None).
The number of descriptor used by relayer and gas price databases should be small and don't affect descriptors allowance for on-chain and off-chain databases.

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

No branches or pull requests

1 participant