GenericObjectPool and GenericKeyedObjectPool provide an option to specify BaseObjectPoolConfig that can be used for variety of configuration of the pool, like-
DEFAULT_MIN_EVICTABLE_IDLE_TIME_MILLIS : The default value for the minEvictableIdleTimeMillis configuration attribute.
DEFAULT_TIME_BETWEEN_EVICTION_RUNS_MILLIS: The default value for the timeBetweenEvictionRunsMillis configuration attribute.
It would be good to provide an option explicitly for such configuration or pass it via kwargs.