Skip to content

max_connections does nothing #386

@pranjalv123

Description

@pranjalv123

Describe the bug
max_connections in new_feature_store and new_big_segment_store in ldclient/integrations/__init__.py is unused. This means you would have to pass max_connections inside of redis_opts if you want to limit the max connections.

I believe DEFAULT_MAX_CONNECTIONS is also unused, so the number of redis connections is the redis ConnectionPool default of 2**31.

Expected behavior

I would expect this to limit the number of maximum connections; however, this may be a dangerous change to make as users are probably relying on the unbounded maximum connection behavior.

SDK version

This is present in the latest release on github (9.13.1).

Language version, developer tools
Python

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