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

Don't hold entire MQTT retained messages in memory #4228

Merged
merged 5 commits into from Jun 13, 2023
Merged

Commits on Jun 13, 2023

  1. Don't keep MQTT retained message content in memory

    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    8db804e View commit details
    Browse the repository at this point in the history
  2. Fix checking retained permissions on config reload

    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    a5c0711 View commit details
    Browse the repository at this point in the history
  3. No longer need to manually delete last message on replace

    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    3fef0ed View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary return, refactor permission check so that it doesn…

    …'t hold locks longer than needed
    
    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    3b07f43 View commit details
    Browse the repository at this point in the history
  5. Take the account session lock when deleting from map

    Signed-off-by: Neil Twigg <neil@nats.io>
    neilalexander committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    afe7f48 View commit details
    Browse the repository at this point in the history