Skip to content

Reset session when returning to pool #178

Open
@MrSmoke

Description

@MrSmoke

I currently have a use case were I get far better performance setting ConnectionReset to false but I still want the connection reset for safety purposes.

I was thinking that when ReturnToPool is called the connection could be reset there (if the enabled) instead of when it's pulled out of the pool, leaving the reset to be done in the background (before being added back into the pool).

It would however mean that the pool is easier to deplete.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions