Skip to content

Consider adding some hook for refreshing resource after idle timeout is reached  #75

@elhigu

Description

@elhigu

Currently if min resources is > 0 and they are idle for a long time in the pool the resource might get stale without notification (at least postgresql does that in some cases).

This behaviour basically renders having minimum amount of connections in config useless, because having stale resources waiting in pool is not useful.

We could add one more hook to the config which will be called for resource when idle timeout is reached and resource cannot be destroyed and freed because of pool min config value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions