Skip to content

Pool configuration is not working properly #2

@alexlz0

Description

@alexlz0

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions