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

Reduced memory use on Sessions by removing handled items from inflightTimeouts #834

Merged
merged 1 commit into from
May 1, 2024

Commits on Apr 30, 2024

  1. Reduced memory use on busy Sessions by removing handled items from in…

    …flightTimeouts
    
    Items in the inflightTimeouts DelayQueue were only ever removed when they
    timed out. But in normal operation the related messages would have been
    handled long before that. There should only ever be a number equal to the
    number of inflightSlots in the queue, but the queue would grow to the
    maximum number of messages ever handled in a 5 second interval. This made
    each session take much more memory than needed.
    hylkevds committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    862812b View commit details
    Browse the repository at this point in the history