-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: rename blocks_preload_pool_size to preload_pool_size #17
Conversation
@bokobza What are you talking about? The variable is clearly used and you introduced a breaking change with this PR. If you believe otherwise, comment here and re-open the PR with more details on what you want to achieve |
The |
|
Okay, now I understood the problem, but still let's avoid a breaking change, we can rename a local variable, instead of an attribute in a configuration. Thanks for the heads up! |
The
blocks_preload_pool_size
has a default value of 200 and is used in the code to grab a list of blocks.A variable with almost the same name
preload_pool_size
is one of the LakeConfig object parameters. This one can be set but isn't used anywhere.I believe the intent was for this to be 1 variable that the caller can set when creating the LakeConfig object.
I renamed
blocks_preload_pool_size
topreload_pool_size
rather than the other way around to avoid any backward incompatibility.