Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix a memory leak with autopipelining. #1470

Merged
merged 1 commit into from
Nov 24, 2021

Commits on Nov 24, 2021

  1. Free autopipelining callbacks when they stop getting used.

    Set kCallbacks field to null instead of the empty array because nothing
    should append to it until a new pipeline starts.
    If anything did, that is a bug.
    
    With Redis.Cluster, there could be 16384 different arrays pointing to
    callbacks that aren't needed.
    TysonAndre committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    fb100ff View commit details
    Browse the repository at this point in the history