Skip to content

[ConnectionPool]: Add feature to run closure on all open connections #580

@adam-fowler

Description

@adam-fowler

Please summarize your feature request

Provide access to all the open connections in the connection pool

Describe the functionality you're seeking in more detail

This is a request for valkey-swift.

There are situations where we need to change the state of all connections in a connection pool between read-only and writable. This is done by sending either the READONLY or READWRITE commands to the connection. To do this we need access to all the currently open connections.

Have you considered any alternatives?

#581

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