Problem/Motivation

Currently the redis connection is not statically kept. That results in opening a different connection for the initial bootstrap container and the regular one.

Steps to reproduce

Proposed resolution

Convert the internal connection property on the client factory to static.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork redis-3572969

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

berdir created an issue. See original summary.

berdir’s picture

Issue summary: View changes

berdir’s picture

Status: Active » Needs review

It's a pretty small gain by default anyway, but could be a bit more costly in cases where connecting is slower, such as a cluster.

  • berdir committed 66af9e72 on 2.x
    feat: #3572969 Use static property for redis connection
    
    By: berdir
    
berdir’s picture

Status: Needs review » Fixed

Merged.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.