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: add configuration property that allows disabling setting of noti… #26

Closed

Commits on Mar 27, 2024

  1. fix: add configuration property that allows disabling setting of noti…

    …fy-keyspace-events on redis server
    
    Before this fix, when starting encore, spring data redis
     would try to use the CONFIG command to set
    notify-keyspace-events on the redis server. If the server did not support the CONFIG command,
    which is the case in many managed redis services, encore would fail to start.
    
    With this fix, setting the property redis.keyspace.disable-config-notifications
    to true string will stop spring data redis from trying to change the config.
    If the property is not set, or set to true, spring data redis will behave as before,
    that is use the CONFIG command to set 'notify-keyspace-events'.
    
    Note that this fix does not seem to work when native compile is used.
    
    Signed-off-by: Gustav Grusell <gustav.grusell@eyevinn.se>
    grusell committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    e85ce9f View commit details
    Browse the repository at this point in the history