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

Pool configuration is not working properly #2

Open
alexlz0 opened this issue Dec 10, 2020 · 0 comments
Open

Pool configuration is not working properly #2

alexlz0 opened this issue Dec 10, 2020 · 0 comments

Comments

@alexlz0
Copy link

alexlz0 commented Dec 10, 2020

Faced some an issue when trying to modify RpcPoolParams. Custom configuration is overwritten with default values coming from GenericKeyedObjectPoolConfig. Seems like BaseKeyedPool is ignoring a custom config inside its constructor (GenericKeyedObjectPool constructor resets all configuration values to the default ones):

open class BaseKeyedPool<K,T>( keyedPooledObjectFactory: BaseKeyedPooledObjectFactory<K, T>, config: GenericKeyedObjectPoolConfig<T> ): GenericKeyedObjectPool<K,T>(keyedPooledObjectFactory){

Probably I'm doing something wrong, could you please suggest?

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